Commit Graph

23 Commits

Author SHA1 Message Date
Bernard Xiong ab595cc864 [pthreads] fix the free ptd issue when there is no pthread slot. 2019-05-13 09:19:44 +08:00
Bernard Xiong 7038465d13 [pthreads] Add PTHREAD_NUM_MAX in Kconfig. 2019-05-12 21:48:54 +08:00
Bernard Xiong bb506e8493 [pthreads] Add spinlock declare and fix code issue. 2019-05-12 21:44:28 +08:00
Bernard Xiong 5d36fa78c0 [pthreads] Use pthread table for pthread management. 2019-05-12 17:56:11 +08:00
Bernard Xiong 3638e5129e [pthreads] The fields definition are more like those of newlib/glibc. 2019-05-12 15:04:46 +08:00
Bernard Xiong f9f7e6c520 [ptherad] Fix pthread_exit issue
When pthread invokes pthread_exit, it just detach self.
2019-02-14 13:45:25 +08:00
Bernard Xiong c003bdf44f [pthreads] Add _pthread_destroy to release pthread resource. 2019-02-07 23:50:49 +08:00
Hao Zhu d3c2cb5845 [components][libc] add extern "C" for header file 2019-01-09 15:13:03 +08:00
Bernard Xiong 9064b28c2a [license] Change license to Apache. 2018-10-14 19:28:18 +08:00
Bernard Xiong f68bb0ec90 [pthreads] Fix the object check issue. 2018-08-03 14:28:45 +08:00
Bernard Xiong 84a44e58dd [pthread] Fix pthread_detach issue for a none-joinable thread 2018-02-07 19:55:35 +08:00
BernardXiong d3da3bd9b2 [libc] move clock_time to time. 2017-12-31 16:43:08 +08:00
BernardXiong 4bc082e7cb [libc] move `struct sigevent` to libc_signal.h file. 2017-12-31 14:48:54 +08:00
Bernard Xiong e1da54e513 [pthreads] Add CLOCK_CPUTIME_ID/CLOCK_MONOTONIC clock_id 2017-12-24 00:06:29 +08:00
luo jiao 3d65afc7d5 add some parameter check and function defintion etc. 2017-12-22 13:24:02 +08:00
bernard 5c7b16d00b [libc] Update libc.
1. Add POSIX termios implementation;
2. Add POSIX signals implementation;
3. Add stdio for each libc.
2017-10-15 22:41:59 +08:00
bernard 8bdf993bfc [libc] Build correct SConscript file. 2017-10-13 12:44:54 +08:00
armink e379b4d2a4 [pthreads]Add component init for pthread_system_init. 2016-11-12 21:46:17 +08:00
Bernard Xiong 2d7486fcc0 [pthreads] Fix the sem_trywait issue. 2016-11-08 09:21:32 +08:00
Bernard Xiong 712c0673fb [pthreads] Fix the phread_mutex_trylock issue for not recursive mutex. 2016-11-03 15:38:51 +08:00
weety 0af00b9ce5 fixed time unit error in clock_gettime. 2016-06-01 14:07:47 +08:00
weety 62e770f9de Fixed 64KB stack size limit. 2016-05-31 20:39:33 +08:00
Bernard Xiong 64feef0dde [LIBC] mv pthreads/libdl to libc and rename dfs_lwip to dfs_net 2016-05-10 09:22:01 +08:00