Skip site navigation (1)Skip section navigation (2)

FreeBSD Manual Pages

  
 
  

home | help
al_create_...x_recursive(3) Library Functions Manual al_create_...x_recursive(3)

NAME
     al_create_mutex_recursive - Allegro 5 API

SYNOPSIS
	    #include <allegro5/allegro.h>

	    ALLEGRO_MUTEX *al_create_mutex_recursive(void)

DESCRIPTION
     Create  the mutex object (a mutual exclusion device), with support for "re-
     cursive" locking.	That is, the mutex will count the number of times it has
     been locked by the same thread.  If the caller tries to acquire a	lock  on
     the  mutex  when  it  already holds the lock then the count is incremented.
     The mutex is only unlocked when the thread releases the lock on  the  mutex
     an equal number of times, i.e. the count drops down to zero.

SEE ALSO
     al_create_mutex(3).

Allegro reference manual			     al_create_...x_recursive(3)

Want to link to this manual page? Use this URL:
<https://man.freebsd.org/cgi/man.cgi?query=al_create_mutex_recursive&sektion=3&manpath=FreeBSD+Ports+15.1.quarterly>

home | help