| View previous topic :: View next topic |
| Author |
Message |
ipsp
Joined: 01 Feb 2006 Posts: 26 Location: Sydney
|
Posted: Wed Feb 01, 2006 9:52 am Post subject: Mutex's & Thread's |
|
|
Can anyone tell me if the PSP has direct libraries for mutexs and/or does it support the "thread.h" standard library.
Basically I need to have multiple threads, which will access a common resource, and I only want one thread to access the common code.
I've used mutex_t and thread_t functions with C before but not sure if the PSP supports these libraries, as the PSP seems to implement it's own threading calls.
Any help would be great |
|
| Back to top |
|
 |
jimparis
Joined: 10 Jun 2005 Posts: 1179 Location: Boston
|
Posted: Wed Feb 01, 2006 12:00 pm Post subject: Re: Mutex's & Thread's |
|
|
| ipsp wrote: | Can anyone tell me if the PSP has direct libraries for mutexs and/or does it support the "thread.h" standard library.
Basically I need to have multiple threads, which will access a common resource, and I only want one thread to access the common code.
I've used mutex_t and thread_t functions with C before but not sure if the PSP supports these libraries, as the PSP seems to implement it's own threading calls.
Any help would be great | Posix threads are not implemented. You can use SDL if you want portable threads and mutexes. |
|
| Back to top |
|
 |
PeterM
Joined: 31 Dec 2005 Posts: 125 Location: Edinburgh, UK
|
Posted: Wed Feb 01, 2006 7:16 pm Post subject: |
|
|
| There are also PSP-specific (nonportable) threads and semaphores in "pspthreadman.h". |
|
| Back to top |
|
 |
|