Float64 timers.
This commit is contained in:
parent
319573bb1e
commit
2ccab86273
@ -104,8 +104,8 @@ class IPC::StandAloneConnection
|
|||||||
end
|
end
|
||||||
|
|
||||||
class IPC::Connections
|
class IPC::Connections
|
||||||
property base_timer : Int64 = 0
|
property base_timer : Float64 = 0.0
|
||||||
property timer : Int64 = 0
|
property timer : Float64 = 0.0
|
||||||
getter connections : LibIPC::Connections
|
getter connections : LibIPC::Connections
|
||||||
|
|
||||||
def initialize
|
def initialize
|
||||||
|
@ -72,7 +72,7 @@ lib LibIPC
|
|||||||
fun ipc_read(Connection*, Message*) : IPCError
|
fun ipc_read(Connection*, Message*) : IPCError
|
||||||
fun ipc_write(Connection*, Message*) : IPCError
|
fun ipc_write(Connection*, Message*) : IPCError
|
||||||
|
|
||||||
fun ipc_wait_event(Connections*, Connection*, Event*, LibC::Long*) : IPCError
|
fun ipc_wait_event(Connections*, Connection*, Event*, LibC::Double*) : IPCError
|
||||||
|
|
||||||
fun ipc_add(Connections*, Connection*) : IPCError
|
fun ipc_add(Connections*, Connection*) : IPCError
|
||||||
fun ipc_del(Connections*, Connection*) : IPCError
|
fun ipc_del(Connections*, Connection*) : IPCError
|
||||||
@ -90,7 +90,7 @@ lib LibIPC
|
|||||||
|
|
||||||
|
|
||||||
# networkd-related functions
|
# networkd-related functions
|
||||||
fun ipc_wait_event_networkd(Connections*, Connection*, Event*, Switchings*, LibC::Long*) : IPCError
|
fun ipc_wait_event_networkd(Connections*, Connection*, Event*, Switchings*, LibC::Double*) : IPCError
|
||||||
|
|
||||||
fun ipc_receive_fd (sock : LibC::Int, fd : LibC::Int*) : IPCError
|
fun ipc_receive_fd (sock : LibC::Int, fd : LibC::Int*) : IPCError
|
||||||
fun ipc_provide_fd (sock : LibC::Int, fd : LibC::Int ) : IPCError
|
fun ipc_provide_fd (sock : LibC::Int, fd : LibC::Int ) : IPCError
|
||||||
|
Reference in New Issue
Block a user