◐ Shell
reader mode source ↗
Skip to content

bpo-31904: support signal module for VxWorks#23391

Merged
vstinner merged 1 commit into
python:masterfrom
Wind-River:fix-issue-31904-signal
Nov 30, 2020
Merged

bpo-31904: support signal module for VxWorks#23391
vstinner merged 1 commit into
python:masterfrom
Wind-River:fix-issue-31904-signal

Conversation

@pxinwr

@pxinwr pxinwr commented Nov 19, 2020

Copy link
Copy Markdown
Contributor
  1. There are some discussion about "sig_atomic_t fd;" in PR 12670. POSIX spec doesn't define its type. In practice, most implementation defines it as int. Go to Atomic-Types So far it works fine on known OSes. However, on VxWorks, sig_atomic_t is defined as 'unsigned char'. Assigning it to -1 will have problem. So we define wakeup.fd as int specially for VxWorks.
  2. VxWorks has no getitimer() and setitimer() C api available. So skipping the test on VxWorks.

https://bugs.python.org/issue31904

@vstinner

Copy link
Copy Markdown
Member

Merged, thanks. The updated PR is simpler.

adorilson pushed a commit to adorilson/cpython that referenced this pull request Mar 13, 2021
@pxinwr pxinwr deleted the fix-issue-31904-signal branch May 7, 2021 07:42
@kuhlenough kuhlenough mannequin mentioned this pull request Jan 12, 2024
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.

4 participants