forked from timblechmann/nova-tt
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathREADME
25 lines (20 loc) · 924 Bytes
/
README
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
nova thread tools
nova thread tools aims to provide cross-platform implementations of
thread synchronization functions.
provided classes:
- nova::dummy_mutex: dummy class, implementing the TryMutex concept
- nova::spin_lock: spin lock (pthread wrapper)
- nova::nonrecursive_rw_mutex: non-recursive reader-writer mutex
(pthread wrapper)
- nova::rw_mutex: recursive reader-writer mutex (pthread wrapper)
- nova::rw_spinlock: nonrecursive reader-writer spinlock
- nova::semaphore: semaphore class (posix/boost wrapper)
provided functions:
- nova::nanosleep: sleeping functions with nano-second resolution (if
supported by operating system)
- nova::thread_priority: get priority of current thread
- nova::thread_priority_interval(_rt): get valid priority interval
- nova::thread_set_priority(_rt): set priority of current thread
dependencies:
- boost.thread
- boost.lockfree (for memory barriers and atomic operations)