GIDForums  

Go Back   GIDForums > Computer Programming Forums > C++ Forum
User Name
Password
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

 
 
Thread Tools Search this Thread Rate Thread
  #1  
Old 09-Jun-2005, 11:32
ajaffres ajaffres is offline
New Member
 
Join Date: Mar 2005
Posts: 1
ajaffres is on a distinguished road

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  
Old 10-Jun-2005, 10:41
Error's Avatar
Error Error is offline
Junior Member
 
Join Date: May 2005
Posts: 42
Error is on a distinguished road
Then just use Redhat 9.8.
 
 

Recent GIDBlogOnce again, no time for hobbies by crystalattice

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

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

All times are GMT -6. The time now is 23:02.


vBulletin, Copyright © 2000 - 2009, Jelsoft Enterprises Ltd.