Skip to content
This repository was archived by the owner on Jul 24, 2023. It is now read-only.

Commit a2acb64

Browse files
author
Massimiliano Pippi
committed
restore build on posix
1 parent cdc22b2 commit a2acb64

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

exceptions_posix.go

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,9 @@
22

33
package python
44

5+
// #include "go-python.h"
6+
import "C"
7+
58
// int PySignal_SetWakeupFd(int fd)
69
// This utility function specifies a file descriptor to which a '\0' byte will be written whenever a signal is received. It returns the previous such file descriptor. The value -1 disables the feature; this is the initial state. This is equivalent to signal.set_wakeup_fd() in Python, but without any error checking. fd should be a valid file descriptor. The function should only be called from the main thread.
710
func PySignal_SetWakeupFd(fd int) int {

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy