0 | module System.Linux.Pthreads.Prim
3 | import System.Posix.Signal.Prim
4 | import System.Posix.Pthreads.Prim
8 | %foreign "C:li_pthread_sigqueue, posix-idris"
9 | prim__pthread_sigqueue : AnyPtr -> Bits32 -> CInt -> PrimIO Bits32
15 | pthreadSigqueue : PthreadT -> Signal -> (word : CInt) -> EPrim ()
16 | pthreadSigqueue p s word =
17 | posToUnit $
prim__pthread_sigqueue p.ptr s.sig word