labath added a comment.

In D131160#3701839 <https://reviews.llvm.org/D131160#3701839>, @mgorny wrote:

> To be honest, I'm not sure if "event" is the best name for it. I get it's a 
> WSA name but it's a bit non-obvious to outsiders (I mean, technically 
> everything is an event). Not that I have a better name in mind.

Yeah, I know... I checked the thesaurus for "event", and I didn't find anything 
reasonable. And "signal" is obviously a bad idea..

Another possibility (one that just occurred to me right now) would be to use a 
completely different paradigm to achieve the effect. For example, we could 
extend the `PendingCallback` mechanism to enable adding callbacks from 
different threads (and have them wake the loop if necessary). That would be a 
more generic mechanism, and it would avoid the need to introduce a new concept 
(and having to name it).

In D131160#3701907 <https://reviews.llvm.org/D131160#3701907>, @mgorny wrote:

> BTW do you need me to implement the POSIX counterpart to this?

That would be appreciated, but I think we first need to figure out the API, and 
how this code is going to be structured (I'm going to try handling the second 
part now)...


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D131160/new/

https://reviews.llvm.org/D131160

_______________________________________________
lldb-commits mailing list
lldb-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

Reply via email to