![]() |
|
#1
|
|||
|
|||
pthread doesn't work for me!Hi!
I have the latest version of Linux Suse 9.3 with all the latest updates. I am working on an application which uses pthread. For some reason that I can work out myself, the functions of pthread do not work. Before creating one thread using pthreat_create(), I obviously need to run pthread_attr_init(): pthread_result = pthread_attr_init(pthreadAttributeObjectPtr); When I run this, inheritshed is initialised to 4096 instead of 1, the stacksize is 0 instead of a big number, the guardsize is 0 instead of 4096... Would anyone know a possible reason this weird behaviour of pthread? By the way, this same application works fine with Redhat 9.8. Thanks a lot!! Arnaud. |
|||
|
#2
|
||||
|
||||
|
Then just use Redhat 9.8.
|
Recent GIDBlog
Once again, no time for hobbies by crystalattice
| Thread Tools | Search this Thread |
| Rate This Thread | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Return month by providing work week | shinyhui | C++ Forum | 7 | 22-Feb-2005 08:23 |
| An ActiveX Control does not work in VB, what problem would that be? | mingcosp | MS Visual C++ / MFC Forum | 0 | 19-Jan-2005 11:04 |
| Why doesnt my form work correctly? | rhino1616 | Web Design Forum | 2 | 06-Nov-2003 18:21 |
| How do web redirection scripts work? | rhino1616 | Web Design Forum | 9 | 27-Oct-2003 10:47 |
Network Sites: GIDNetwork · GIDWebHosts · GIDSearch · Learning Journal by J de Silva, The