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

'pthread_spinlock_t' has no define when i make the project ? #39

Open
houlin opened this issue Apr 20, 2016 · 1 comment
Open

'pthread_spinlock_t' has no define when i make the project ? #39

houlin opened this issue Apr 20, 2016 · 1 comment

Comments

@houlin
Copy link

houlin commented Apr 20, 2016

```

/Users/houlin/Downloads/dnspod-sr-master/src/utils.h:176:15: error: unknown type name 'pthread_spinlock_t'; did you mean 'pthread_rwlock_t'?
int test_lock(pthread_spinlock_t * lock);

@jfb8856606
Copy link
Member

Which version of glibc that you uesd,is there 'pthread_spinlock_t' in thread.h?

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

2 participants