Skip to content
Projeler
Gruplar
Parçacıklar
Yardım
Yükleniyor...
Oturum aç / Kaydol
Gezinmeyi değiştir
C
core
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ç
LibreOffice
core
Commits
df1f6deb
Kaydet (Commit)
df1f6deb
authored
Agu 25, 2014
tarafından
Michael Stahl
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
fix this C file for Microsoft Pascal compiler
Change-Id: I08086caacb7abe0c85aeb184935b3f73666e9faf
üst
27d79b12
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
+3
-2
dllentry.c
sal/osl/w32/dllentry.c
+3
-2
No files found.
sal/osl/w32/dllentry.c
Dosyayı görüntüle @
df1f6deb
...
@@ -261,11 +261,12 @@ static DWORD GetParentProcessId()
...
@@ -261,11 +261,12 @@ static DWORD GetParentProcessId()
static
DWORD
WINAPI
ParentMonitorThreadProc
(
LPVOID
lpParam
)
static
DWORD
WINAPI
ParentMonitorThreadProc
(
LPVOID
lpParam
)
{
{
osl_setThreadName
(
"headless ParentMonitorThread"
);
DWORD_PTR
dwParentProcessId
=
(
DWORD_PTR
)
lpParam
;
DWORD_PTR
dwParentProcessId
=
(
DWORD_PTR
)
lpParam
;
HANDLE
hParentProcess
=
OpenProcess
(
SYNCHRONIZE
,
FALSE
,
dwParentProcessId
);
HANDLE
hParentProcess
=
OpenProcess
(
SYNCHRONIZE
,
FALSE
,
dwParentProcessId
);
osl_setThreadName
(
"headless ParentMonitorThread"
);
if
(
IsValidHandle
(
hParentProcess
)
)
if
(
IsValidHandle
(
hParentProcess
)
)
{
{
if
(
WAIT_OBJECT_0
==
WaitForSingleObject
(
hParentProcess
,
INFINITE
)
)
if
(
WAIT_OBJECT_0
==
WaitForSingleObject
(
hParentProcess
,
INFINITE
)
)
...
...
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