Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Kill now unused functions SIMIX_mutex_{un}ref.
[simgrid.git] / src / kernel / activity / MutexImpl.cpp
index 40f60bb..624c80b 100644 (file)
@@ -113,21 +113,6 @@ void MutexImpl::unref()
 } // namespace kernel
 } // namespace simgrid
 
-/** Increase the refcount for this mutex */
-smx_mutex_t SIMIX_mutex_ref(smx_mutex_t mutex)
-{
-  if (mutex != nullptr)
-    intrusive_ptr_add_ref(mutex);
-  return mutex;
-}
-
-/** Decrease the refcount for this mutex */
-void SIMIX_mutex_unref(smx_mutex_t mutex)
-{
-  if (mutex != nullptr)
-    intrusive_ptr_release(mutex);
-}
-
 // Simcall handlers:
 
 void simcall_HANDLER_mutex_lock(smx_simcall_t simcall, smx_mutex_t mutex)