mirror of
https://github.com/pspdev/pspsdk.git
synced 2026-01-03 06:10:35 +00:00
Adding pthreadglue support
This commit is contained in:
@@ -23,6 +23,7 @@ void __init_cwd(char *argv_0);
|
||||
void __timezone_update();
|
||||
void __fdman_init();
|
||||
void __init_mutex();
|
||||
void pthread_init();
|
||||
void __psp_free_heap();
|
||||
void __deinit_mutex();
|
||||
|
||||
@@ -45,6 +46,9 @@ void __libcglue_init(int argc, char *argv[])
|
||||
/* Initialize filedescriptor management */
|
||||
__fdman_init();
|
||||
|
||||
/* Initialize pthread library */
|
||||
pthread_init();
|
||||
|
||||
/* Initialize cwd from this program's path */
|
||||
__init_cwd(argv[0]);
|
||||
|
||||
|
||||
@@ -19,6 +19,9 @@
|
||||
/* Fuctions from errno.c */
|
||||
int __set_errno(int code);
|
||||
|
||||
/* Fuctions from errno.c */
|
||||
int __set_errno(int code);
|
||||
|
||||
#ifdef F_nanosleep
|
||||
/* note: we don't use rem as we have no signals */
|
||||
int nanosleep(const struct timespec *req, struct timespec *rem)
|
||||
|
||||
Reference in New Issue
Block a user