Skip to content

Fix LiTL with recent libraries#12

Open
vlaforet wants to merge 2 commits intomulticore-locks:masterfrom
vlaforet:master
Open

Fix LiTL with recent libraries#12
vlaforet wants to merge 2 commits intomulticore-locks:masterfrom
vlaforet:master

Conversation

@vlaforet
Copy link

Fixes: (First commit)

  • gettid has been removed from src/utils.c as it is already defined in the C library
  • pthread_yield has been renamed sched_yield

Second commit:
Fix the issue described in issue #11. pthread_create was not interposed and this resulted in contexts not being initialized.
The fix consists in linking to the new version of pthread_create with glibc >= 2.34. Backward compatibility is also assured by linking to the older version of pthread_create with glibc < 2.34.

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.

1 participant