some pthread bugfixes in dectshark
git-svn-id: https://dedected.org/svn/trunk@101 8d8ab74c-27aa-4a3d-9bde-523a2bc1f624
This commit is contained in:
parent
772763ccd1
commit
7d89c2acbf
|
@ -4,6 +4,8 @@ found_dects founds;
|
||||||
|
|
||||||
scanmode_gui::scanmode_gui(int x,int y)
|
scanmode_gui::scanmode_gui(int x,int y)
|
||||||
{
|
{
|
||||||
|
pthread_mutex_init(&mutex,NULL);
|
||||||
|
|
||||||
selected=startpos=displaypos=0;
|
selected=startpos=displaypos=0;
|
||||||
|
|
||||||
scrw=x;
|
scrw=x;
|
||||||
|
|
|
@ -10,6 +10,8 @@ syncmode_gui::syncmode_gui(int x,int y)
|
||||||
{
|
{
|
||||||
int i;
|
int i;
|
||||||
|
|
||||||
|
pthread_mutex_init(&mutex,NULL);
|
||||||
|
|
||||||
selx=sely=0;
|
selx=sely=0;
|
||||||
|
|
||||||
scrw=x;
|
scrw=x;
|
||||||
|
|
Loading…
Reference in New Issue