Hoogle Search
Within LTS Haskell 24.52 (ghc-9.10.3)
Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.
boxShadowWithSpread :: Size a -> Size a -> Size a -> Size a -> Color -> Cssclay Clay.Box Deprecated: This function has been replaced with shadowWithSpread and bsColor and will be removed.
shadowWithSpread :: Size a -> Size a -> Size a -> Size a -> BoxShadowclay Clay.Box While this function is the correct type to work with the sym, sym2 or sym3 functions, such applications are unlikely to be meaningful.
mkBackgroundThread :: Capacity -> IO (BackgroundWorker (IO ()))co-log-concurrent Colog.Concurrent Create a background worker with a given capacity. If capacity is reached, then the thread that tries to write logs will be blocked. This method is more generic than forkBackgroundLogger but it's less effective, as you have to pass entire closure to be run and that leads to extra memory usage and indirect calls happening. When closed it will dump all pending messages, unless another asynchronous exception will arrive, or synchronous exception will happen during the logging. Note. Limit parameter of capacity is ignored here as the function performs IO actions and seems that doesn't benefit from the chunking. However it may change in the future versions if proved to be wrong.
runInBackgroundThread :: BackgroundWorker (IO ()) -> LogAction IO msg -> LogAction IO msgco-log-concurrent Colog.Concurrent Run logger action asynchronously in the worker thread. Logger is executed in the other thread entirely, so if logger takes any thread related context it will be read from the other thread.
backgroundWorkerThreadId :: BackgroundWorker msg -> !ThreadIdco-log-concurrent Colog.Concurrent.Internal Background ThreadId.
thread :: Foldable t => t (a -> a) -> a -> acomposition-prelude Control.Composition No documentation available.
threadM :: (Monad m, Foldable t, Applicative m) => t (a -> m a) -> a -> m acomposition-prelude Control.Composition No documentation available.
hyperthreadingFactor :: [CPU] -> Rationalcpuinfo System.CPU The hyperthreading factor is the number of logical cores divided by the number of physical cores. This quantity indicates the degree to which physical execution resources are shared among logical processors, and may be used to tune parallel applications.
hyperthreadingInUse :: [CPU] -> Boolcpuinfo System.CPU If hyperthreading is in use, the hyperthreadingFactor will be greater than 1.
serverThreadId :: Server -> ThreadIdekg System.Remote.Monitoring The thread ID of the server. You can kill the server by killing this thread (i.e. by throwing it an asynchronous exception.)