Method
MaplibreNativeFfiQueueLockset_lock
Declaration [src]
void
maplibre_native_ffi_queue_lock_set_lock (
MaplibreNativeFfiQueueLock* self,
MaplibreNativeFfiQueueLockCallback callback,
gpointer user_data,
GDestroyNotify notify
)
Description [src]
Locks or unlocks the Vulkan queue that you share with a render session.
It can run on a library thread, and it can’t call the library.
See mln_queue_lock_callback in the
C API reference.
This method is not directly available to language bindings.
Parameters
callback-
Type:
MaplibreNativeFfiQueueLockCallbackThe callback.
The argument can be NULL. user_data-
Type:
gpointerThe data to pass to
callback.The argument can be NULL.The data is owned by the caller of the method. notify-
Type:
GDestroyNotifyThe function that frees
user_dataafter the last call.