228 |
|
|
229 |
SCM_DEFINE (scm_system_async_mark_for_thread, "system-async-mark", 1, 1, 0, |
SCM_DEFINE (scm_system_async_mark_for_thread, "system-async-mark", 1, 1, 0, |
230 |
(SCM proc, SCM thread), |
(SCM proc, SCM thread), |
231 |
"Register the procedure @var{proc} for future execution\n" |
"Mark @var{proc} (a procedure with zero arguments) for future execution\n" |
232 |
"in @var{thread}. When @var{thread} is not specified,\n" |
"in @var{thread}. If @var{proc} has already been marked for\n" |
233 |
"use the current thread.") |
"@var{thread} but has not been executed yet, this call has no effect.\n" |
234 |
|
"If @var{thread} is omitted, the thread that called\n" |
235 |
|
"@code{system-async-mark} is used.\n\n" |
236 |
|
"This procedure is not safe to be called from C signal handlers. Use\n" |
237 |
|
"@code{scm_sigaction} or @code{scm_sigaction_for_thread} to install\n" |
238 |
|
"signal handlers.") |
239 |
#define FUNC_NAME s_scm_system_async_mark_for_thread |
#define FUNC_NAME s_scm_system_async_mark_for_thread |
240 |
{ |
{ |
241 |
#ifdef USE_THREADS |
#ifdef USE_THREADS |