p4raw-id: //depot/perl@15854
int
sharedsv_scalar_mg_clear(pTHX_ SV *sv, MAGIC *mg)
{
- shared_sv *shared = (shared_sv *) mg->mg_ptr;
return 0;
}
sharedsv_elem_mg_STORE(pTHX_ SV *sv, MAGIC *mg)
{
dTHXc;
- bool allowed;
shared_sv *shared = SV_to_sharedsv(aTHX_ mg->mg_obj);
shared_sv *target;
SV **svp;
{
dTHXc;
shared_sv *shared = SV_to_sharedsv(aTHX_ mg->mg_obj);
- SV* ssv;
ENTER_LOCK;
sharedsv_elem_mg_FETCH(aTHX_ sv, mg);
if (SvTYPE(SHAREDSvPTR(shared)) == SVt_PVAV) {
MUTEX_UNLOCK(&create_destruct_mutex);
/* Thread is now disowned */
if (thread->interp) {
- dTHXa(thread->interp);
PERL_SET_CONTEXT(thread->interp);
perl_destruct(thread->interp);
perl_free(thread->interp);
{
static pthread_attr_t attr;
static int attr_inited = 0;
- sigset_t fullmask, oldmask;
static int attr_joinable = PTHREAD_CREATE_JOINABLE;
if (!attr_inited) {
attr_inited = 1;