Method

AgsThreadtrylock

since: 3.0.0

Declaration [src]

gboolean
ags_thread_trylock (
  AgsThread* thread
)

Description [src]

Locks the threads own mutex if available and sets the appropriate flag and returning TRUE. Otherwise return FALSE without lock.

Available since: 3.0.0

Return value

Type: gboolean

TRUE on success, otherwise FALSE.