| parrotcode: Represents a running Parrot Thread. | |
| Contents | PMCs | 

src/pmc/parrotrunningthread.pmc -- Represents a running Parrot Thread.

This type represents a running parrot thread.
It provides the following methods: - join - detach - kill
Note that a running thread object becomes invalid when a thread finishes while detached or joined. Further operations on the object may have unexpected behavior, such as manipulating an unrelated thread.

void init()void init_pmc(PMC *tid)tid.INTVAL get_integer()void set_integer_native(INTVAL new_tid)new_tid.    void set_integer_native(INTVAL new_tid) {
        PMC_int_val(SELF) = new_tid;
    }
/*
METHOD PMC *join()METHOD void detach()METHOD void kill()
|  |   |