samdphillips
2020-12-10 17:11:19

What it looks like I’m going to do is make a separate place which will pump the messages from gstreamer into a thread running in my primary place, that thread will queue-callback into the eventspace. Hopefully this will all fall together :slightly_smiling_face:


greg
2020-12-10 18:42:03

Yeah, sorry, I misunderstood that you meant a piece of syntax that is an identifier. I read “id” but glossed over the “bind” part.


samdphillips
2020-12-10 19:20:29

ACTUALLY, I didn’t read the docs closely enough there is a gst_bus method to get a filedescriptor to use in a poll gst_bus_get_pollfd . It’s pretty trivial to turn that into an event and use that instead of starting a whole other place.


kellysmith12.21
2020-12-11 00:27:31

What’s a wrapper module?


kellysmith12.21
2020-12-11 00:34:36

Is that when you provide a custom definition for #%module-begin and process the module body?


kellysmith12.21
2020-12-11 01:22:41

If I want to make it so that define, let, and lambda bound variables cannot be set!, then I need to make my own versions of define, let, and lambda that make variable-like transformers that throw an error on set!, correct?


samth
2020-12-11 03:21:39

Yes, that seems like a reasonable way. You could also define your own set!, depending on what restrictions you wanted to enforce.


plragde
2020-12-11 03:34:11

Make boxes the primary implementation for mutation?


kellysmith12.21
2020-12-11 03:35:51

I plan on using boxes for mutation. However, since I’m allowing arbitrary Racket libraries to be imported, I need to protect bindings defined by my lang from being set!