comparison src/settings.sig @ 1878:df6a040f5389

Make transactional FFI functions effectful by default
author Adam Chlipala <adam@chlipala.net>
date Thu, 10 Oct 2013 18:01:30 -0400
parents c3119c263bd3
children 0992323fa264
comparison
equal deleted inserted replaced
1877:22b44fe822bf 1878:df6a040f5389
71 val setClientToServer : ffi list -> unit 71 val setClientToServer : ffi list -> unit
72 val mayClientToServer : ffi -> bool 72 val mayClientToServer : ffi -> bool
73 73
74 (* Which FFI functions have side effects? *) 74 (* Which FFI functions have side effects? *)
75 val setEffectful : ffi list -> unit 75 val setEffectful : ffi list -> unit
76 val addEffectful : ffi -> unit
76 val isEffectful : ffi -> bool 77 val isEffectful : ffi -> bool
77 78
78 (* Which FFI functions should not have their calls removed or reordered, but cause no lasting effects? *) 79 (* Which FFI functions should not have their calls removed or reordered, but cause no lasting effects? *)
79 val setBenignEffectful : ffi list -> unit 80 val setBenignEffectful : ffi list -> unit
80 val isBenignEffectful : ffi -> bool 81 val isBenignEffectful : ffi -> bool