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

add more flags #4

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

Avery-Whitaker
Copy link

I couldn't get this repo to build at all on my system... but this should be close

some of these flags will require a newer kernel... should we #ifdef them?

Comment on lines +53 to +54
PyModule_AddIntConstant(module, "CLONE_THREAD", CLONE_SIGHAND); // signal handlers and blocked signals
PyModule_AddIntConstant(module, "CLONE_THREAD", CLONE_VM); // virtual memory
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Repeated CLONE_THREAD

@shubham1172
Copy link
Owner

What does build command report? python setup.py build

some of these flags will require a newer kernel... should we #ifdef them?

#IFDEF is a compile time flag, it won't prevent usage of the flags in the python package, right? We can leave it as is too IMO, the error code should tell if the used flag was unsupported.

@shubham1172 shubham1172 linked an issue Aug 23, 2022 that may be closed by this pull request
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.

flags missing
2 participants