Schnittstelle Thread.OnThreadFunc

Umschließende Klasse:
Thread
Funktionsschnittstelle:
Dies ist eine funktionale Schnittstelle, die somit als Zuweisungsziel für einen Lambdaausdruck oder eine Methodenreferenz verwendet werden kann.

@FunctionalInterface public static interface Thread.OnThreadFunc
  • Methodenübersicht

    Modifizierer und Typ
    Methode
    Beschreibung
    Specifies the type of the @func functions passed to g_thread_new()
    or g_thread_try_new().
  • Methodendetails

    • onThreadFunc

      Pointer onThreadFunc(CallbackHandler __self, @Nullable Pointer data)
      Specifies the type of the @func functions passed to g_thread_new()
      or g_thread_try_new().
      Parameter:
      data - data passed to the thread
      Gibt zurück:
      the return value of the thread