Skip to content
Projeler
Gruplar
Parçacıklar
Yardım
Yükleniyor...
Oturum aç / Kaydol
Gezinmeyi değiştir
C
cpython
Proje
Proje
Ayrıntılar
Etkinlik
Cycle Analytics
Depo (repository)
Depo (repository)
Dosyalar
Kayıtlar (commit)
Dallar (branch)
Etiketler
Katkıda bulunanlar
Grafik
Karşılaştır
Grafikler
Konular (issue)
0
Konular (issue)
0
Liste
Pano
Etiketler
Kilometre Taşları
Birleştirme (merge) Talepleri
0
Birleştirme (merge) Talepleri
0
CI / CD
CI / CD
İş akışları (pipeline)
İşler
Zamanlamalar
Grafikler
Paketler
Paketler
Wiki
Wiki
Parçacıklar
Parçacıklar
Üyeler
Üyeler
Collapse sidebar
Close sidebar
Etkinlik
Grafik
Grafikler
Yeni bir konu (issue) oluştur
İşler
Kayıtlar (commit)
Konu (issue) Panoları
Kenar çubuğunu aç
Batuhan Osman TASKAYA
cpython
Commits
8b5bdda5
Kaydet (Commit)
8b5bdda5
authored
Mar 13, 2019
tarafından
pxinwr
Kaydeden (comit)
Victor Stinner
Mar 13, 2019
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
bpo-31904: Adapt the _signal module to VxWorks RTOS (GH-12304)
Limited signal fields in VxWorks.
üst
9776b063
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
0 deletions
+8
-0
2019-03-13-14-55-02.bpo-31904.834kfY.rst
...S.d/next/Library/2019-03-13-14-55-02.bpo-31904.834kfY.rst
+1
-0
signalmodule.c
Modules/signalmodule.c
+7
-0
No files found.
Misc/NEWS.d/next/Library/2019-03-13-14-55-02.bpo-31904.834kfY.rst
0 → 100644
Dosyayı görüntüle @
8b5bdda5
Add _signal module support for VxWorks.
Modules/signalmodule.c
Dosyayı görüntüle @
8b5bdda5
...
...
@@ -1079,11 +1079,18 @@ fill_siginfo(siginfo_t *si)
PyStructSequence_SET_ITEM
(
result
,
0
,
PyLong_FromLong
((
long
)(
si
->
si_signo
)));
PyStructSequence_SET_ITEM
(
result
,
1
,
PyLong_FromLong
((
long
)(
si
->
si_code
)));
#ifdef __VXWORKS__
PyStructSequence_SET_ITEM
(
result
,
2
,
PyLong_FromLong
(
0L
));
PyStructSequence_SET_ITEM
(
result
,
3
,
PyLong_FromLong
(
0L
));
PyStructSequence_SET_ITEM
(
result
,
4
,
PyLong_FromLong
(
0L
));
PyStructSequence_SET_ITEM
(
result
,
5
,
PyLong_FromLong
(
0L
));
#else
PyStructSequence_SET_ITEM
(
result
,
2
,
PyLong_FromLong
((
long
)(
si
->
si_errno
)));
PyStructSequence_SET_ITEM
(
result
,
3
,
PyLong_FromPid
(
si
->
si_pid
));
PyStructSequence_SET_ITEM
(
result
,
4
,
_PyLong_FromUid
(
si
->
si_uid
));
PyStructSequence_SET_ITEM
(
result
,
5
,
PyLong_FromLong
((
long
)(
si
->
si_status
)));
#endif
#ifdef HAVE_SIGINFO_T_SI_BAND
PyStructSequence_SET_ITEM
(
result
,
6
,
PyLong_FromLong
(
si
->
si_band
));
#else
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment