Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Remove xbt_parmap_get_worker_id to simplify the parmap interface
[simgrid.git] / src / xbt / parmap.c
index c40fa0d..7bb119b 100644 (file)
@@ -126,16 +126,6 @@ void* xbt_parmap_next(xbt_parmap_t parmap)
   return NULL;
 }
 
-/**
- * \brief Returns the worker id of the current thread.
- * \param parmap a parmap
- * \return the worker id
- */
-unsigned long xbt_parmap_get_worker_id(xbt_parmap_t parmap)
-{
-  return (unsigned long) xbt_os_thread_get_extra_data();
-}
-
 /**
  * \brief Main function of a worker thread.
  * \param arg the parmap