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

Timout support on FreeBSD #73

Open
kevin-juilly opened this issue Jan 19, 2024 · 0 comments
Open

Timout support on FreeBSD #73

kevin-juilly opened this issue Jan 19, 2024 · 0 comments

Comments

@kevin-juilly
Copy link

The timeout feature uses GNU/Linux specific calls.

it uses gettid() linux syscall to distinguish between threads.
It overrides the clone syscall wrapper to setup things.

On FreeBSD:

  • gettid might be replaced by pthread_getthreadid_np
  • instead of clone, thr_new might be the syscall to wrap for setup.

My knowledge of FreeBSD being limited, those are only assumptions.

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

No branches or pull requests

1 participant