Method

MaplibreNativeFfiQueueLockset_unlock

Declaration [src]

void
maplibre_native_ffi_queue_lock_set_unlock (
  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: MaplibreNativeFfiQueueLockCallback

The callback.

The argument can be NULL.
user_data

Type: gpointer

The data to pass to callback.

The argument can be NULL.
The data is owned by the caller of the method.
notify

Type: GDestroyNotify

The function that frees user_data after the last call.