Skip to content

In pthreads 3+ not working PTHREADS_ALLOW_GLOBALS functionality #2

@nike80

Description

@nike80

Hi, SirSnyder!
Can you help with this issue?

Hi krakjoe!

Pthreads is great, thanks for your job!

But in pthreads 3+ not working PTHREADS_ALLOW_GLOBALS functionality (Allow global inheritance for new threads).

This is very important functionality. It used in hi-powered engines (CDNs, games engines, ect.): in first stage the engine allocate resources and queues, calculate tables and slots which will be (by many reasons) global variables, and will be used all branches of code and threads together.

More about this technique you may find f.e. in books of André LaMothe ( https://en.wikipedia.org/wiki/André_LaMothe )
at http://www.amazon.com/s/ref=nb_sb_noss_1?url=search-alias%3Daps&field-keywords=andre+lamothe

Without this technique no way creating hi-powered systems and deploy the power of PHP engine.

So, please, restore PTHREADS_ALLOW_GLOBALS functionality in pthreads.
Thanks!

krakjoe#698

Metadata

Metadata

Assignees

Labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions