diff options
| author | Alan Third | 2017-07-01 12:58:49 +0100 |
|---|---|---|
| committer | Alan Third | 2017-07-01 12:58:49 +0100 |
| commit | 0ad5fd4b6cac1824e50e5e8c1a43878825e7d3de (patch) | |
| tree | 0a8247163987e1c146583554fdbe508a435f6705 /src/coding.c | |
| parent | ff6d090ff73af57d6d489bc221d8f9eb6c0da633 (diff) | |
| download | emacs-0ad5fd4b6cac1824e50e5e8c1a43878825e7d3de.tar.gz emacs-0ad5fd4b6cac1824e50e5e8c1a43878825e7d3de.zip | |
Fix threads on NS (bug#25265)
src/nsterm.h (ns_select): Compiler doesn't like sigmask being const.
(ns_run_loop_break) [HAVE_PTHREAD]: New function.
src/nsterm.m (ns_select): Call thread_select from within ns_select.
(ns_run_loop_break) [HAVE_PTHREAD]: New function.
(ns_send_appdefined): Don't wait for main thread when sending app
defined event.
src/process.c (wait_reading_process_output): Call thread_select from
within ns_select.
src/systhread.c (sys_cond_broadcast) [HAVE_NS]: Break ns_select out of
its event loop using ns_run_loop_break.
Diffstat (limited to 'src/coding.c')
0 files changed, 0 insertions, 0 deletions