Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Add SemaphoreImpl::piface_ (mimic MutexImpl).
authorArnaud Giersch <arnaud.giersch@univ-fcomte.fr>
Sat, 13 Mar 2021 21:25:04 +0000 (22:25 +0100)
committerArnaud Giersch <arnaud.giersch@univ-fcomte.fr>
Sat, 13 Mar 2021 21:25:04 +0000 (22:25 +0100)
commit993a22f9b7f34d3a536bfe6a49a31405461dea5d
treea175478ab208568143e7439ff8695d8a581554a5
parent807a0791d80e2b9c714b5f6d2c83bda4ce76af7c
Add SemaphoreImpl::piface_ (mimic MutexImpl).

Also make constructor private to enforce usage of create(), and fix bogus destructor.

Like for Mutex, could not manage to make ~Semaphore() private.
include/simgrid/forward.h
include/simgrid/s4u/Semaphore.hpp
src/kernel/activity/SemaphoreImpl.cpp
src/kernel/activity/SemaphoreImpl.hpp
src/s4u/s4u_Semaphore.cpp