diff options
author | k0kubun <k0kubun@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2018-10-13 00:25:58 +0000 |
---|---|---|
committer | k0kubun <k0kubun@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2018-10-13 00:25:58 +0000 |
commit | cc5154af6da14d5cee75e9842351bcc12abd4093 (patch) | |
tree | 060e7177b69168d641201eee0123fcd8e1560c4e /win32/win32.c | |
parent | 26519ebaedefe58757d9867615bf4a9d8e003a12 (diff) | |
download | ruby-cc5154af6da14d5cee75e9842351bcc12abd4093.tar.gz |
win32/win32.c: I meant FindFreeChildSlot [ci skip]
which was formerly used in CreateChild.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65049 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'win32/win32.c')
-rw-r--r-- | win32/win32.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/win32/win32.c b/win32/win32.c index 7ac99ba5a4..f512c92bd6 100644 --- a/win32/win32.c +++ b/win32/win32.c @@ -1297,8 +1297,8 @@ rb_w32_start_process(const char *abspath, char *const *argv, int out_fd) { /* NOTE: This function is used by MJIT worker, so it can be used parallelly with Ruby's main thread. So functions touching things shared with main thread can't - be sued, like `ALLOCV` that may trigger GC or `FindChildSlot` that finds a slot - from shared memory without locks. */ + be sued, like `ALLOCV` that may trigger GC or `FindFreeChildSlot` that finds + a slot from shared memory without atomic locks. */ struct ChildRecord child; char *cmd; size_t len; |