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

map 不支持pthread多线程, 会crash #29

Open
dlf412 opened this issue Nov 1, 2013 · 2 comments
Open

map 不支持pthread多线程, 会crash #29

dlf412 opened this issue Nov 1, 2013 · 2 comments

Comments

@dlf412
Copy link

dlf412 commented Nov 1, 2013

Program terminated with signal 11, Segmentation fault.
#0 0x00000000004403a3 in pair_init (ppair_pair=0xf018a7c) at cstl_pair.c:51

51 if ((ppair_pair->_pv_first = malloc(_GET_PAIR_FIRST_TYPE_SIZE(ppair_pair))) == NULL) {

@activesys
Copy link
Owner

libcstl是非线程安全的。

@activesys
Copy link
Owner

线程安全在libcstl-2.5中默认支持

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