Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Conversation

@neoharp-dev
Copy link
Contributor

Glib is a heavy dependency
cpp11 have performance issues on Android

So I yanked futex code from glib. Posix threads and sync primitives are used if futexes are not available.

It is used in our app, and works in both Android and iOS (although currently iOS app is still in testing), perforamce issues we had previously with cpp11 were not observed with OSAL_posix.

Copy link
Member

@derselbst derselbst left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for this enormous work! I am not yet sure, if I want to merge this though. For me, the underlying use-case (solving performance issues on Android) is too specific. I'd keep this open a bit as an RFC allowing others to provide feedback.

@derselbst derselbst changed the title Add OSAL_posix (mostly ported from glib) [RFC] Add OSAL_posix (mostly ported from glib) Dec 14, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

Morty Proxy This is a proxified and sanitized view of the page, visit original site.