mirror of
https://git.freebsd.org/ports.git
synced 2025-07-18 17:59:20 -04:00
- Remove patch-thread.c forgot it in the previous commit.
Submitted by: Walter Schwarzen via ruby ml
This commit is contained in:
parent
43c7f09459
commit
1ecf2fcbe6
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=439620
1 changed files with 0 additions and 13 deletions
|
@ -1,13 +0,0 @@
|
||||||
--- thread.c.orig 2016-11-11 22:33:21 UTC
|
|
||||||
+++ thread.c
|
|
||||||
@@ -462,8 +462,8 @@ rb_threadptr_unlock_all_locking_mutexes(
|
|
||||||
void
|
|
||||||
rb_thread_terminate_all(void)
|
|
||||||
{
|
|
||||||
- rb_thread_t *th = GET_THREAD(); /* main thread */
|
|
||||||
- rb_vm_t *vm = th->vm;
|
|
||||||
+ rb_thread_t *volatile th = GET_THREAD(); /* main thread */
|
|
||||||
+ rb_vm_t *volatile vm = th->vm;
|
|
||||||
|
|
||||||
if (vm->main_thread != th) {
|
|
||||||
rb_bug("rb_thread_terminate_all: called by child thread (%p, %p)",
|
|
Loading…
Add table
Reference in a new issue