}
void Semaphore::wait()
-throw(RuntimeException) {
+noexcept(false) {
#ifdef _MT
int errorCode;
anna_signal_shield(errorCode, sem_wait(&a_id));
}
bool Semaphore::tryWait()
-throw(RuntimeException) {
+noexcept(false) {
bool result(true);
#ifdef _MT
int errorCode;
}
void Semaphore::signal()
-throw(RuntimeException) {
+noexcept(false) {
#ifdef _MT
int errorCode = sem_post(&a_id);
}
std::string Semaphore::asString() const
-throw() {
+{
std::string msg("anna::Semaphone { Id: ");
msg += functions::asHexString(anna_ptrnumber_cast(&a_id));
msg += " | Value: ";