Annotate

teal-src/util/signal.d.tl @ 12630:781772c8b6d9

mod_mam: Store archives with sub-second precision timestamps Changes sub-second part of example timestamp to .5 in order to avoid floating point issues. Some clients use timestamps when ordering messages which can lead to messages having the same timestamp ending up in the wrong order. It would be better to preserve the order messages are sent in, which is the order they were stored in.
author Kim Alvefur <zash@zash.se>
date Sun, 14 Aug 2022 17:28:31 +0200
parent 12627:b8ce0f61855b
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
11579
ec4f0ec3c0d5 teal: Add type spec for util.signal
Kim Alvefur <zash@zash.se>
parents:
diff changeset
1 local record lib
12627
b8ce0f61855b util.signal: Fix name conflict in Teal interface declaration
Kim Alvefur <zash@zash.se>
parents: 11579
diff changeset
2 enum Signal
11579
ec4f0ec3c0d5 teal: Add type spec for util.signal
Kim Alvefur <zash@zash.se>
parents:
diff changeset
3 "SIGABRT"
ec4f0ec3c0d5 teal: Add type spec for util.signal
Kim Alvefur <zash@zash.se>
parents:
diff changeset
4 "SIGALRM"
ec4f0ec3c0d5 teal: Add type spec for util.signal
Kim Alvefur <zash@zash.se>
parents:
diff changeset
5 "SIGBUS"
ec4f0ec3c0d5 teal: Add type spec for util.signal
Kim Alvefur <zash@zash.se>
parents:
diff changeset
6 "SIGCHLD"
ec4f0ec3c0d5 teal: Add type spec for util.signal
Kim Alvefur <zash@zash.se>
parents:
diff changeset
7 "SIGCLD"
ec4f0ec3c0d5 teal: Add type spec for util.signal
Kim Alvefur <zash@zash.se>
parents:
diff changeset
8 "SIGCONT"
ec4f0ec3c0d5 teal: Add type spec for util.signal
Kim Alvefur <zash@zash.se>
parents:
diff changeset
9 "SIGFPE"
ec4f0ec3c0d5 teal: Add type spec for util.signal
Kim Alvefur <zash@zash.se>
parents:
diff changeset
10 "SIGHUP"
ec4f0ec3c0d5 teal: Add type spec for util.signal
Kim Alvefur <zash@zash.se>
parents:
diff changeset
11 "SIGILL"
ec4f0ec3c0d5 teal: Add type spec for util.signal
Kim Alvefur <zash@zash.se>
parents:
diff changeset
12 "SIGINT"
ec4f0ec3c0d5 teal: Add type spec for util.signal
Kim Alvefur <zash@zash.se>
parents:
diff changeset
13 "SIGIO"
ec4f0ec3c0d5 teal: Add type spec for util.signal
Kim Alvefur <zash@zash.se>
parents:
diff changeset
14 "SIGIOT"
ec4f0ec3c0d5 teal: Add type spec for util.signal
Kim Alvefur <zash@zash.se>
parents:
diff changeset
15 "SIGKILL"
ec4f0ec3c0d5 teal: Add type spec for util.signal
Kim Alvefur <zash@zash.se>
parents:
diff changeset
16 "SIGPIPE"
ec4f0ec3c0d5 teal: Add type spec for util.signal
Kim Alvefur <zash@zash.se>
parents:
diff changeset
17 "SIGPOLL"
ec4f0ec3c0d5 teal: Add type spec for util.signal
Kim Alvefur <zash@zash.se>
parents:
diff changeset
18 "SIGPROF"
ec4f0ec3c0d5 teal: Add type spec for util.signal
Kim Alvefur <zash@zash.se>
parents:
diff changeset
19 "SIGQUIT"
ec4f0ec3c0d5 teal: Add type spec for util.signal
Kim Alvefur <zash@zash.se>
parents:
diff changeset
20 "SIGSEGV"
ec4f0ec3c0d5 teal: Add type spec for util.signal
Kim Alvefur <zash@zash.se>
parents:
diff changeset
21 "SIGSTKFLT"
ec4f0ec3c0d5 teal: Add type spec for util.signal
Kim Alvefur <zash@zash.se>
parents:
diff changeset
22 "SIGSTOP"
ec4f0ec3c0d5 teal: Add type spec for util.signal
Kim Alvefur <zash@zash.se>
parents:
diff changeset
23 "SIGSYS"
ec4f0ec3c0d5 teal: Add type spec for util.signal
Kim Alvefur <zash@zash.se>
parents:
diff changeset
24 "SIGTERM"
ec4f0ec3c0d5 teal: Add type spec for util.signal
Kim Alvefur <zash@zash.se>
parents:
diff changeset
25 "SIGTRAP"
ec4f0ec3c0d5 teal: Add type spec for util.signal
Kim Alvefur <zash@zash.se>
parents:
diff changeset
26 "SIGTTIN"
ec4f0ec3c0d5 teal: Add type spec for util.signal
Kim Alvefur <zash@zash.se>
parents:
diff changeset
27 "SIGTTOU"
ec4f0ec3c0d5 teal: Add type spec for util.signal
Kim Alvefur <zash@zash.se>
parents:
diff changeset
28 "SIGURG"
ec4f0ec3c0d5 teal: Add type spec for util.signal
Kim Alvefur <zash@zash.se>
parents:
diff changeset
29 "SIGUSR1"
ec4f0ec3c0d5 teal: Add type spec for util.signal
Kim Alvefur <zash@zash.se>
parents:
diff changeset
30 "SIGUSR2"
ec4f0ec3c0d5 teal: Add type spec for util.signal
Kim Alvefur <zash@zash.se>
parents:
diff changeset
31 "SIGVTALRM"
ec4f0ec3c0d5 teal: Add type spec for util.signal
Kim Alvefur <zash@zash.se>
parents:
diff changeset
32 "SIGWINCH"
ec4f0ec3c0d5 teal: Add type spec for util.signal
Kim Alvefur <zash@zash.se>
parents:
diff changeset
33 "SIGXCPU"
ec4f0ec3c0d5 teal: Add type spec for util.signal
Kim Alvefur <zash@zash.se>
parents:
diff changeset
34 "SIGXFSZ"
ec4f0ec3c0d5 teal: Add type spec for util.signal
Kim Alvefur <zash@zash.se>
parents:
diff changeset
35 end
12627
b8ce0f61855b util.signal: Fix name conflict in Teal interface declaration
Kim Alvefur <zash@zash.se>
parents: 11579
diff changeset
36 signal : function (integer | Signal, function, boolean) : boolean
b8ce0f61855b util.signal: Fix name conflict in Teal interface declaration
Kim Alvefur <zash@zash.se>
parents: 11579
diff changeset
37 raise : function (integer | Signal)
b8ce0f61855b util.signal: Fix name conflict in Teal interface declaration
Kim Alvefur <zash@zash.se>
parents: 11579
diff changeset
38 kill : function (integer, integer | Signal)
11579
ec4f0ec3c0d5 teal: Add type spec for util.signal
Kim Alvefur <zash@zash.se>
parents:
diff changeset
39 -- enum : integer
ec4f0ec3c0d5 teal: Add type spec for util.signal
Kim Alvefur <zash@zash.se>
parents:
diff changeset
40 end
ec4f0ec3c0d5 teal: Add type spec for util.signal
Kim Alvefur <zash@zash.se>
parents:
diff changeset
41 return lib