Branch: Tag:

2019-09-06

2019-09-06 09:05:23 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Thread: Prefix the output from several _sprintf()'s with "Thread.".

Also explicitly informs about the unlocked state.

2414:    push_static_text("*/)");    f_add(3);    } else { -  push_static_text("Thread.Mutex()"); +  push_static_text("Thread.Mutex(/* Unlocked */)");    }   }   
2594:    return;    }    if (THIS_KEY->mutex_obj) { -  push_text("MutexKey(/* %O */)"); +  push_text("Thread.MutexKey(/* %O */)");    ref_push_object(THIS_KEY->mutex_obj);    f_sprintf(2);    } else { -  push_text("MutexKey()"); +  push_text("Thread.MutexKey(/* Unlocked */)");    }   }   
2852:    return;    }    if (THIS_RWKEY->rwmutex_obj) { -  push_text("ReadKey(/* %O */)"); +  push_text("Thread.ReadKey(/* %O */)");    ref_push_object(THIS_RWKEY->rwmutex_obj);    f_sprintf(2);    } else { -  push_text("ReadKey()"); +  push_text("Thread.ReadKey(/* Unlocked */)");    }   }   
2979:    return;    }    if (THIS_RWKEY->rwmutex_obj) { -  push_text("WriteKey(/* %O */)"); +  push_text("Thread.WriteKey(/* %O */)");    ref_push_object(THIS_RWKEY->rwmutex_obj);    f_sprintf(2);    } else { -  push_text("WriteKey()"); +  push_text("Thread.WriteKey(/* Unlocked */)");    }   }