Method

GioFilesupports_thread_contexts

since: 2.22

Declaration [src]

gboolean
g_file_supports_thread_contexts (
  GFile* file
)

Description [src]

Checks if file supports thread-default main contexts (see g_main_context_push_thread_default()) If this returns FALSE, you cannot perform asynchronous operations on file in a thread that has a thread-default context.

Available since: 2.22

Return value

Type: gboolean

Whether or not file supports thread-default contexts.