Archived
3
0

Float64 timers.

This commit is contained in:
Karchnu 2020-06-12 02:05:42 +02:00
parent 319573bb1e
commit 2ccab86273
2 changed files with 4 additions and 4 deletions

View File

@ -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

View File

@ -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