mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
Add a comment.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56988 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
b1272e93eb
commit
1ac9b2ed5c
1 changed files with 2 additions and 0 deletions
2
load.c
2
load.c
|
|
@ -758,6 +758,8 @@ release_thread_shield(st_data_t *key, st_data_t *value, st_data_t done, int exis
|
|||
if (!existing) return ST_STOP;
|
||||
if (done) {
|
||||
rb_thread_shield_destroy(thread_shield);
|
||||
/* Delete the entry even if there are waiting threads, because they
|
||||
* won't load the file and won't delete the entry. */
|
||||
}
|
||||
else if (rb_thread_shield_release(thread_shield)) {
|
||||
/* still in-use */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue