Class: Thread

Inherits:
Object show all
Defined in:
(unknown)

Instance Method Summary collapse

Instance Method Details

#__infinite_loop_dlsym__(name) ⇒ Object



32
33
34
35
36
37
38
39
40
41
42
43
44
# File 'ext/-test-/popen_deadlock/infinite_loop_dlsym.c', line 32

static VALUE
loop_dlsym(VALUE self, VALUE name)
{
    struct data_for_loop_dlsym d;

    d.stop = 0;
    d.name = StringValuePtr(name);

    rb_thread_call_without_gvl(native_loop_dlsym, &d,
                               ubf_for_loop_dlsym, &d);

    return self;
}