Loading...
Searching...
No Matches
Thread.h File Reference

Classes

struct  CreateThreadResult
 Result of creating a new thread. More...
 
class  ThreadFactory
 User-defined factory for creating new threads. More...
 

Namespaces

namespace  ultralight
 

Typedefs

typedef uint32_t ThreadId
 Unique id of the thread, used for referencing the created thread later.
 
typedef uint64_t ThreadHandle
 Platform-specific handle.
 
typedef void(* ThreadEntryPoint) (void *)
 Entry point for the thread, this function should be called by the thread once it is active and should be passed entry_point_data as the argument.
 

Enumerations

enum class  ThreadType : uint8_t {
  Unknown = 0 , JavaScript , Compiler , GarbageCollection ,
  Network , Graphics , Audio
}
 The type of thread, you can choose to optionally handle these for better performance. More...
 

Go to the source code of this file.