Results 1 to 6 of 6
Hey all!
pthread_create creates and executes a new thread ,right? how do i simulate these oparations separatedly?
i was reading something about creating a condition variable in the start routine, ...
- 05-02-2008 #1Just Joined!
- Join Date
- May 2008
- Posts
- 3
pthread_create - separate run from start
Hey all!
pthread_create creates and executes a new thread ,right? how do i simulate these oparations separatedly?
i was reading something about creating a condition variable in the start routine, but i couldnt understand how that would work...
any help would be apreciated =)
- 05-02-2008 #2
- 05-02-2008 #3Just Joined!
- Join Date
- May 2008
- Posts
- 3
hi thx for the reply..=)
well, imagine that i need to separate the operations create and execute...how do i simulate this behavior using pthread_create?
- 05-02-2008 #4
Try looking up semaphore or info sem_wait. This will give you better control of your threads
- 05-02-2008 #5
Also look into mutexes
- 05-02-2008 #6Just Joined!
- Join Date
- May 2008
- Posts
- 3
thank you!!
iŽll look it!


Reply With Quote
