Content-Length: 248708 | pFad | http://github.com/go-python/cpy2/commit/a2acb64fbdf8703949837e5ebf50c71319fe03a4

65 restore build on posix · go-python/cpy2@a2acb64 · GitHub
Skip to content

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

+3
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)








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: http://github.com/go-python/cpy2/commit/a2acb64fbdf8703949837e5ebf50c71319fe03a4

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy