Copyright | Will Thompson and Iñaki García Etxebarria |
---|---|
License | LGPL-2.1 |
Maintainer | Iñaki García Etxebarria |
Safe Haskell | None |
Language | Haskell2010 |
ThreadedResolver
is an implementation of Resolver
which calls the libc
lookup functions in threads to allow them to run asynchronously.
Since: 2.20
Synopsis
- newtype ThreadedResolver = ThreadedResolver (ManagedPtr ThreadedResolver)
- class (GObject o, IsDescendantOf ThreadedResolver o) => IsThreadedResolver o
- toThreadedResolver :: (MonadIO m, IsThreadedResolver o) => o -> m ThreadedResolver
Exported types
newtype ThreadedResolver Source #
Memory-managed wrapper type.
Instances
Eq ThreadedResolver Source # | |
Defined in GI.Gio.Objects.ThreadedResolver (==) :: ThreadedResolver -> ThreadedResolver -> Bool # (/=) :: ThreadedResolver -> ThreadedResolver -> Bool # | |
GObject ThreadedResolver Source # | |
Defined in GI.Gio.Objects.ThreadedResolver | |
ManagedPtrNewtype ThreadedResolver Source # | |
Defined in GI.Gio.Objects.ThreadedResolver | |
TypedObject ThreadedResolver Source # | |
Defined in GI.Gio.Objects.ThreadedResolver | |
HasParentTypes ThreadedResolver Source # | |
Defined in GI.Gio.Objects.ThreadedResolver | |
IsGValue (Maybe ThreadedResolver) Source # | Convert |
Defined in GI.Gio.Objects.ThreadedResolver gvalueGType_ :: IO GType # gvalueSet_ :: Ptr GValue -> Maybe ThreadedResolver -> IO () # gvalueGet_ :: Ptr GValue -> IO (Maybe ThreadedResolver) # | |
type ParentTypes ThreadedResolver Source # | |
Defined in GI.Gio.Objects.ThreadedResolver |
class (GObject o, IsDescendantOf ThreadedResolver o) => IsThreadedResolver o Source #
Type class for types which can be safely cast to ThreadedResolver
, for instance with toThreadedResolver
.
Instances
(GObject o, IsDescendantOf ThreadedResolver o) => IsThreadedResolver o Source # | |
Defined in GI.Gio.Objects.ThreadedResolver |
toThreadedResolver :: (MonadIO m, IsThreadedResolver o) => o -> m ThreadedResolver Source #
Cast to ThreadedResolver
, for types for which this is known to be safe. For general casts, use castTo
.
Methods
Click to display all available methods, including inherited ones
Methods
bindProperty, bindPropertyFull, forceFloating, freezeNotify, getv, isFloating, lookupByAddress, lookupByAddressAsync, lookupByAddressFinish, lookupByName, lookupByNameAsync, lookupByNameFinish, lookupByNameWithFlags, lookupByNameWithFlagsAsync, lookupByNameWithFlagsFinish, lookupRecords, lookupRecordsAsync, lookupRecordsFinish, lookupService, lookupServiceAsync, lookupServiceFinish, notify, notifyByPspec, ref, refSink, runDispose, stealData, stealQdata, thawNotify, unref, watchClosure.
Getters
getData, getProperty, getQdata, getTimeout.