mirror of
https://github.com/zeek/zeek.git
synced 2025-10-10 18:48:20 +00:00
Make SendEvent callable from all threads
This commit refactors the SendEvent call and moves it from the Input ReaderBackend to to MsgThread. This allows all other types of threads to access this functionality. This necessitated a few more changes. Most importantly, one of the ValueToVal methods was moved over to SerialTypes. Whereit arguably belongs - there was nothing that was input-framework specific in that method - and the functionality could come in useful in a number of cases.
This commit is contained in:
parent
9dec370048
commit
034304b9d5
12 changed files with 353 additions and 331 deletions
|
@ -5,7 +5,7 @@ warning: ../configfile/Input::READER_CONFIG: Field: testbool Invalid value for b
|
|||
warning: ../configfile/Input::READER_CONFIG: Could not convert line 'testbool A B' to value. Ignoring line.
|
||||
warning: ../configfile/Input::READER_CONFIG: String 'A' contained no parseable number
|
||||
warning: ../configfile/Input::READER_CONFIG: Could not convert line 'testcount A' to value. Ignoring line.
|
||||
warning: Value 'unknown' for stream 'configuration' is not a valid enum.
|
||||
warning: Value 'unknown' for source 'thread ../configfile/Input::READER_CONFIG' is not a valid enum.
|
||||
error: SendEvent for event InputConfig::new_value failed
|
||||
warning: ../configfile/Input::READER_CONFIG: Option 'testbooool' does not exist. Ignoring line.
|
||||
warning: ../configfile/Input::READER_CONFIG: Option 'test_any' has type 'any', which is not supported for file input. Ignoring line.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue