Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

create appropriate logging extension #136

Open
atsushieno opened this issue Jan 11, 2023 · 1 comment
Open

create appropriate logging extension #136

atsushieno opened this issue Jan 11, 2023 · 1 comment
Labels

Comments

@atsushieno
Copy link
Owner

Currently we have logging.h which is not really an appropriate AAP extension. What it provides is a set of ugly C++ functions like a_log_f() which directly invokes android/log.h functions, which are of course not RT-safe.

It should be implemented like other host AAPXS-es i.e. the interface is queried by plugin (host "apps" do not need to provide the implementation though), the host AAPXS offers a function pointer, and when it is invoked it only dispatches the message and the arguments (before formatting, by some means?), then host actually logs it in another non-RT cycle.

@atsushieno
Copy link
Owner Author

There was an informative session at ADC-x SF https://youtu.be/fqWL2Qj5eSQ?t=2061

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant