pthread_sigmask is not that important I think. However, the nanosleep is. How do you sleep in milliseconds in fink? What function should I use?

/Mauritz
Underscore AB

Justin Wright wrote:
According to my research :
"And in 10.1, there's no prototype for nanosleep. It's exported, so you 
can use it if you define its prototype, but that's not really obvious."

I've not found anything about pthread_sigmask

-----Original Message-----
From: Henrik Johnson [mailto:hpj@globecom.se]
Sent: Thursday, October 24, 2002 10:51 PM
To: Justin Wright
Cc: Tora Development Mailing List
Subject: Re: [Tora-develop] "implicit declaration of function", OS X
10.1, fink


What includefiles are these defined in on fink?

/Mauritz
Underscore AB

Justin Wright wrote:

  
the configure runs and makes the nescessary files, but when the compile gets to tothread.cpp I get:

Compiling tothread.cpp
tothread.cpp: In function `void * toThreadStartWrapper(void *)':
tothread.cpp:213: implicit declaration of function `int pthread_sigmask(...)'
tothread.cpp: In function `static void toThread::msleep(int)':
tothread.cpp:244: implicit declaration of function `int nanosleep(...)'
make: *** [objs/tothread.o] Error 1


any suggestions?


-------------------------------------------------------
This sf.net email is sponsored by: Influence the future 
of Java(TM) technology. Join the Java Community 
Process(SM) (JCP(SM)) program now. 
http://ads.sourceforge.net/cgi-bin/redirect.pl?sunm0003en
_______________________________________________
Tora-develop mailing list
Tora-develop@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/tora-develop
 

    



-------------------------------------------------------
This sf.net email is sponsored by: Influence the future 
of Java(TM) technology. Join the Java Community 
Process(SM) (JCP(SM)) program now. 
http://ads.sourceforge.net/cgi-bin/redirect.pl?sunm0003en
_______________________________________________
Tora-develop mailing list
Tora-develop@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/tora-develop