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
6f4fae8a
Kaydet (Commit)
6f4fae8a
authored
Nis 01, 2015
tarafından
Victor Stinner
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Issue #23836: Document functions releasing the GIL in fileutils.c
üst
82c3e459
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
3 deletions
+5
-3
fileutils.c
Python/fileutils.c
+5
-3
No files found.
Python/fileutils.c
Dosyayı görüntüle @
6f4fae8a
...
...
@@ -667,7 +667,8 @@ _Py_fstat_noraise(int fd, struct _Py_stat_struct *status)
error on error. On POSIX, set errno on error. Fill status and return 0 on
success.
The GIL must be held. */
Release the GIL to call GetFileType() and GetFileInformationByHandle(), or
to call fstat(). The caller must hold the GIL. */
int
_Py_fstat
(
int
fd
,
struct
_Py_stat_struct
*
status
)
{
...
...
@@ -968,7 +969,7 @@ _Py_open_impl(const char *pathname, int flags, int gil_held)
When interrupted by a signal (open() fails with EINTR), retry the syscall,
except if the Python signal handler raises an exception.
The GIL must be held
. */
Release the GIL to call open(). The caller must hold the GIL
. */
int
_Py_open
(
const
char
*
pathname
,
int
flags
)
{
...
...
@@ -1054,7 +1055,8 @@ _Py_fopen(const char *pathname, const char *mode)
When interrupted by a signal (open() fails with EINTR), retry the syscall,
except if the Python signal handler raises an exception.
The GIL must be held. */
Release the GIL to call _wfopen() or fopen(). The caller must hold
the GIL. */
FILE
*
_Py_fopen_obj
(
PyObject
*
path
,
const
char
*
mode
)
{
...
...
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