mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
thread_pthread.c: spelling ("cancellation")
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@62485 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
4651ef77d2
commit
92dd6d8445
1 changed files with 1 additions and 1 deletions
|
@ -1745,7 +1745,7 @@ mjit_worker(void *arg)
|
|||
void (*worker_func)(void) = (void(*)(void))arg;
|
||||
|
||||
if (pthread_setcancelstate(PTHREAD_CANCEL_ENABLE, NULL) != 0) {
|
||||
fprintf(stderr, "Cannot enable cancelation in MJIT worker\n");
|
||||
fprintf(stderr, "Cannot enable cancellation in MJIT worker\n");
|
||||
}
|
||||
#ifdef SET_CURRENT_THREAD_NAME
|
||||
SET_CURRENT_THREAD_NAME("ruby-mjitworker"); /* 16 byte including NUL */
|
||||
|
|
Loading…
Reference in a new issue