-/**
- * @brief Returns the current agent.
- *
- * This functions returns the currently running SIMIX process.
- *
- * @return The SIMIX process
- */
-smx_actor_t SIMIX_process_self() // XBT_ATTRIB_DEPRECATED_v333
-{
- return simgrid::kernel::actor::ActorImpl::self();
-}
-
-namespace simgrid {
-namespace kernel {
-namespace actor {
-
-static unsigned long maxpid = 0;
-unsigned long get_maxpid()
-{
- return maxpid;
-}
-unsigned long* get_maxpid_addr()
-{
- return &maxpid;
-}