mirror of
https://github.com/zeek/zeek.git
synced 2025-10-02 14:48:21 +00:00
Add sleep() BiF.
Yes, really. :-) We've hit the need for this on occasion in very specific settings and always worked around it via ugly nested loops or similars. This has ample warning that folks normally won't want to use this. Not sure that ZAM btest should baseline the number of BiFs.
This commit is contained in:
parent
ead6134501
commit
e6d0c8aa04
6 changed files with 46 additions and 1 deletions
|
@ -431,6 +431,7 @@ static std::unordered_map<std::string, unsigned int> func_attrs = {
|
|||
{"skip_further_processing", ATTR_NO_SCRIPT_SIDE_EFFECTS},
|
||||
{"skip_http_entity_data", ATTR_NO_SCRIPT_SIDE_EFFECTS},
|
||||
{"skip_smtp_data", ATTR_NO_SCRIPT_SIDE_EFFECTS},
|
||||
{"sleep", ATTR_NO_SCRIPT_SIDE_EFFECTS},
|
||||
{"split_string", ATTR_FOLDABLE},
|
||||
{"split_string1", ATTR_FOLDABLE},
|
||||
{"split_string_all", ATTR_FOLDABLE},
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue