You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Consider adding something like qv_scope_options(). This would allow for the setting of context-specific options before creation. A use-case I have in mind is setting an option that would allow for a standalone mode where starting a user-space daemon is handled automatically at startup. I'm sure there are other use-cases, but this one comes to mind.
A complication is that we would have to allocate a context and initialize its parameters and then be able to determine at qv_*_scope_get() time that the structure has already been allocated with options set. Maybe we can embed a magic value at the top of the structure to make this possible? Or we can add flags at creation time (this is probably the easiest/cleanest route).
The text was updated successfully, but these errors were encountered:
Consider adding something like
qv_scope_options()
. This would allow for the setting of context-specific options before creation. A use-case I have in mind is setting an option that would allow for a standalone mode where starting a user-space daemon is handled automatically at startup. I'm sure there are other use-cases, but this one comes to mind.A complication is that we would have to allocate a context and initialize its parameters and then be able to determine at
qv_*_scope_get()
time that the structure has already been allocated with options set. Maybe we can embed a magic value at the top of the structure to make this possible? Or we can add flags at creation time (this is probably the easiest/cleanest route).The text was updated successfully, but these errors were encountered: