summaryrefslogtreecommitdiff
path: root/erts/emulator/beam/erl_thr_queue.h
Commit message (Collapse)AuthorAgeFilesLines
* Update copyright yearHenrik Nord2018-06-181-1/+1
|
* erts: Remove ERTS_SMP and USE_THREAD definesLukas Larsson2017-07-171-25/+0
| | | | | | | | | | | | | | | | | | | | | This refactor was done using the unifdef tool like this: for file in $(find erts/ -name *.[ch]); do unifdef -t -f defile -o $file $file; done where defile contained: #define ERTS_SMP 1 #define USE_THREADS 1 #define DDLL_SMP 1 #define ERTS_HAVE_SMP_EMU 1 #define SMP 1 #define ERL_BITS_REENTRANT 1 #define ERTS_USE_ASYNC_READY_Q 1 #define FDBLOCK 1 #undef ERTS_POLL_NEED_ASYNC_INTERRUPT_SUPPORT #define ERTS_POLL_ASYNC_INTERRUPT_SUPPORT 0 #define ERTS_POLL_USE_WAKEUP_PIPE 1 #define ERTS_POLL_USE_UPDATE_REQUESTS_QUEUE 1 #undef ERTS_HAVE_PLAIN_EMU #undef ERTS_SIGNAL_STATE
* Merge branch 'henrik/update-copyrightyear'Henrik Nord2016-04-131-1/+1
|\ | | | | | | | | * henrik/update-copyrightyear: update copyright-year
| * update copyright-yearHenrik Nord2016-03-151-1/+1
| |
* | erts: Add lttng tracepoints for async pool queueBjörn-Egil Dahlberg2016-04-061-0/+4
|/ | | | | * aio_pool_get * aio_pool_add
* Change license text to APLv2Bruce Yinhe2015-06-181-9/+10
|
* Update copyright yearsBjörn-Egil Dahlberg2013-02-221-1/+1
|
* Use dirty read instead of union which can be unsafe on some platformsRickard Green2013-02-211-7/+6
|
* Fix cleanup of elements in lock-free queuesRickard Green2011-12-071-2/+0
|
* Implement generic lock-free queueRickard Green2011-11-131-0/+211
The implementation of an ERTS internal, generic, many to one, lock-free queue for communication between threads. The many to one scenario is very common in ERTS, so it can be used in a lot of places in the future. Changing to this queue from a lock based queue, however, often requires some redesigning. This since we have often used the lock of the queue to protect other information too.