Interface Once.OnThreadFunc

Enclosing class:
Once
Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface public static interface Once.OnThreadFunc
  • Method Summary

    Modifier and Type
    Method
    Description
    onThreadFunc(CallbackHandler __self, Pointer user_data)
    Specifies the type of the @func functions passed to g_thread_new()
    or g_thread_try_new().
  • Method Details

    • onThreadFunc

      Pointer onThreadFunc(CallbackHandler __self, @Nullable Pointer user_data)
      Specifies the type of the @func functions passed to g_thread_new()
      or g_thread_try_new().
      Parameters:
      user_data - data passed to the thread
      Returns:
      the return value of the thread