Gregory Nutt
|
acaae12e8b
Add pthread_testcancel(), pthread_testcancel(), and definitiions for cancellation types.
|
7 年之前 |
Gregory Nutt
|
a1fbc2ad0d
pthreads: Add pthread_cleanup_push() and pthread_cleanup_pop()
|
7 年之前 |
Gregory Nutt
|
796969f6b6
Update TODO. Provide do-nothing stubs for mutex attribute interfaces if features not enabled. pthread_cond includes a signaling semaphore and should call sem_setprotocol.
|
8 年之前 |
Gregory Nutt
|
97bf82ee05
Semaphores: Provide macros for sem_setprotobol() and sem_getprotocol() if priority inheritance is not enabled. More SEM_PRIO_* definitions to include/nuttx/semaphore.h
|
8 年之前 |
Gregory Nutt
|
92d3022411
Add pthread_mutexattr_get/set_protocol and non-standard sem_get/set_protocol. These may use to enable or disable priority inheritance on a single semaphore.
|
8 年之前 |
Gregory Nutt
|
86b79b33cf
Reserver the name 'err' for other purposes
|
8 年之前 |
Gregory Nutt
|
0eadf1dcad
Costmetic change + update submodules
|
8 年之前 |
Gregory Nutt
|
5a590e99b9
Add SYSCALLS for pthread_setaffinity() and pthread_getaffinity()
|
8 年之前 |
Gregory Nutt
|
a633353ec3
Add a CPU affinity set to the TCB if SMP is enable and use this CPU set as a mask for determining which CPUs the thread may run on. Add an affinity field to the attrributes to permit controlling which CPUs a pthread may run on. Implements pthread_att_setaffinity_np() and pthread_attr_getaffinity_np().
|
8 年之前 |
Gregory Nutt
|
72d3920295
Rename cpuset_t to cpu_set_t which is the type used in some non-standard Linux/GNU interfaces. Move definitions of cpu_set_t to include/sys/types.h. Add prototypes for sched_setaffinity(), sched_getaffinity(), pthread_attr_setaffinity_np(), pthread_attr_getaffinity_np(), pthread_setaffinity_np(), and pthread_getaffinity_np(). No implementation is yet in place.
|
8 年之前 |
Gregory Nutt
|
b1938c065d
sys/time.h: Fix timersub macro; time_t is unsigned
|
8 年之前 |
Gregory Nutt
|
c1fff4706c
signals: Adds a very limited, minimal implementation for SIGEV_THREAD
|
8 年之前 |
Gregory Nutt
|
9835eeb181
signals: Basic framework to support SIGEV_THREAD
|
8 年之前 |
Gregory Nutt
|
9cbac41e78
Clean-up/standardize a few header files
|
9 年之前 |
Gregory Nutt
|
f6c102d4c0
A few cosmetic fixes from the last commit
|
9 年之前 |
Gregory Nutt
|
9095e8eab4
include/, sched/, and libc/: Add support for sporadic scheduling parameters in struct sched_param, posix_spawnattr_t, and pthread_attr_t. Update all user interfaces to pass sporadic scheduling parameters. Feature is dependent on EXPERIMENTAL and no changes have yet been made to core scheduling logic.
|
9 年之前 |
Juha Niskanen
|
d16053c33c
sched/pthread: Use -1 instead of 0 as PID for unclaimed mutexes
|
9 年之前 |
Gregory Nutt
|
35a6ef7c40
Fix PTHREAD_COND_INITIALIZER
|
9 年之前 |
Gregory Nutt
|
a41c1de32c
Add basic data structures that will allow us to move named semaphore support out of the OS and into the VFS (not complete).
|
10 年之前 |
Gregory Nutt
|
e953fb11cd
A const storage class to to phthread parameters. From Freddie Chopin
|
10 年之前 |
Gregory Nutt
|
3a1324741a
More trailing whilespace removal
|
10 年之前 |
patacongo
|
76d1ad21f2
Fix bad conditional logic in mkconfig.c; Add user-mode pthread start-up logic
|
11 年之前 |
patacongo
|
fe49f7c965
configs/sim/nxwm now uses kconfig-frontends
|
12 年之前 |
patacongo
|
cc022f93df
Patches from Petteri Aimonen (plus a few other things)
|
12 年之前 |
patacongo
|
97301a8aed
Add interfaces to support getting/setting of thread/task names
|
12 年之前 |
patacongo
|
7163506799
Fix pascal build problem
|
12 年之前 |
patacongo
|
2f6adf5714
FTPD daemon and example now build without errors
|
12 年之前 |
patacongo
|
a521443817
Move more files into subdirectories under lib/
|
13 年之前 |
patacongo
|
21ae727f6f
Add syscall directory
|
13 年之前 |
patacongo
|
e385b1074b
Clean-up from big switch to stdint/stdbool
|
15 年之前 |