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
e84d5a7e
Kaydet (Commit)
e84d5a7e
authored
Mar 26, 2003
tarafından
Jens-Heiner Rechtien
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
MWS_SRX644: migrate branch mws_srx644 -> HEAD
üst
bcb75a10
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
30 additions
and
22 deletions
+30
-22
ExecutionContext.java
sandbox/com/sun/star/lib/sandbox/ExecutionContext.java
+18
-20
d.lst
sandbox/prj/d.lst
+2
-0
delzip
sandbox/util/delzip
+0
-0
makefile.mk
sandbox/util/makefile.mk
+10
-2
No files found.
sandbox/com/sun/star/lib/sandbox/ExecutionContext.java
Dosyayı görüntüle @
e84d5a7e
...
...
@@ -2,9 +2,9 @@
*
* $RCSfile: ExecutionContext.java,v $
*
* $Revision: 1.
2
$
* $Revision: 1.
3
$
*
* last change: $Author:
jl $ $Date: 2002-09-24 13:31:3
2 $
* last change: $Author:
hr $ $Date: 2003-03-26 17:28:1
2 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
...
...
@@ -161,6 +161,16 @@ public abstract class ExecutionContext extends Observable {
dispatchThread
=
new
Thread
(
threadGroup
,
new
Runnable
()
{
public
void
run
()
{
while
(
loop
)
{
if
(
head
!=
null
)
{
if
(
DEBUG
)
System
.
err
.
println
(
"#### ExecutionContext dispatchThread "
+
dispatchThread
.
toString
()
+
" -dispatching: "
+
head
.
id
);
dispatch
(
head
.
id
);
if
(
DEBUG
)
System
.
err
.
println
(
"#### ExecutionContext dispatchThread "
+
dispatchThread
.
toString
()
+
" get next head - current state is "
+
head
.
id
);
synchronized
(
getSynObject
()
)
{
head
=
head
.
next
;
getSynObject
().
notify
();
}
}
synchronized
(
getSynObject
()
)
{
if
(
head
==
null
)
{
try
{
...
...
@@ -172,18 +182,12 @@ public abstract class ExecutionContext extends Observable {
}
}
}
if
(
DEBUG
)
System
.
err
.
println
(
"#### ExecutionContext dispatchThread "
+
dispatchThread
.
toString
()
+
" -dispatching: "
+
head
.
id
);
dispatch
(
head
.
id
);
if
(
DEBUG
)
System
.
err
.
println
(
"#### ExecutionContext dispatchThread "
+
dispatchThread
.
toString
()
+
" get next head - current state is "
+
head
.
id
);
synchronized
(
getSynObject
()
)
{
head
=
head
.
next
;
getSynObject
().
notify
();
}
}
if
(
DEBUG
)
System
.
err
.
println
(
"#### ExecutionContext - dispatchThread -terminating"
);
}
});
dispatchThread
.
setDaemon
(
true
);
dispatchThread
.
start
();
}
public
void
sendEvent
(
int
id
)
{
...
...
@@ -224,22 +228,16 @@ public abstract class ExecutionContext extends Observable {
synchronized
(
getSynObject
()
)
{
while
(
head
!=
null
)
getSynObject
().
wait
(
timeout
);
// wait at most one second for each queued command
}
loop
=
false
;
getSynObject
().
notifyAll
();
}
dispatchThread
.
join
(
timeout
);
}
catch
(
InterruptedException
ee
)
{
if
(
DEBUG
)
System
.
err
.
println
(
"#### ExecutionContext "
+
dispatchThread
.
toString
()
+
" - dispose 1:"
+
ee
);
}
loop
=
false
;
getSynObject
().
notifyAll
();
// dispatchThread.interrupt();
dispatchThread
.
join
(
timeout
);
if
(
DEBUG
)
threadGroup
.
list
();
// threadGroup.stop();
if
(
!
threadGroup
.
isDestroyed
()
)
threadGroup
.
destroy
();
}
...
...
@@ -355,8 +353,8 @@ public abstract class ExecutionContext extends Observable {
if
(
status
==
LOADED
||
status
==
DESTROYED
)
{
xdispose
();
// baseResourceLoader.flush();
setStatus
(
DISPOSED
);
showStatus
(
"disposed"
);
setStatus
(
DISPOSED
);
}
else
showStatus
(
"notdestroyed"
);
...
...
sandbox/prj/d.lst
Dosyayı görüntüle @
e84d5a7e
..\%__SRC%\class\sandbox.jar %_DEST%\bin%_EXT%\sandbox.jar
..\%__SRC%\bin\sandbox_src.zip %COMMON_DEST%\bin%_EXT%\sandbox_src.zip
..\%__SRC%\lib\lib*static*.dylib %_DEST%\lib%_EXT%\lib*static*.dylib
..\%__SRC%\misc\*staticdatamembers.cxx %_DEST%\inc%_EXT%\*staticdatamembers.cxx
..\%__SRC%\misc\*staticdatamembers.h* %_DEST%\inc%_EXT%\*staticdatamembers.h*
...
...
sandbox/util/delzip
0 → 100644
Dosyayı görüntüle @
e84d5a7e
sandbox/util/makefile.mk
Dosyayı görüntüle @
e84d5a7e
...
...
@@ -2,9 +2,9 @@
#
# $RCSfile: makefile.mk,v $
#
# $Revision: 1.
3
$
# $Revision: 1.
4
$
#
# last change: $Author:
jl $ $Date: 2002-10-25 06:55:27
$
# last change: $Author:
hr $ $Date: 2003-03-26 17:28:14
$
#
# The Contents of this file are made available subject to the terms of
# either of the following licenses
...
...
@@ -74,6 +74,14 @@ JARCLASSDIRS = com$/sun$/star$/lib$/sandbox
JARTARGET
=
sandbox.jar
JARCOMPRESS
=
TRUE
# Special work necessary for building java reference with javadoc.
# The source of puplic APIs must be delivered and used later in the
# odk module.
ZIP1TARGET
=
sandbox_src
ZIP1FLAGS
=
-u
-r
ZIP1DIR
=
$(PRJ)
ZIP1LIST
=
com
-x
"*makefile.mk"
# --- Targets ------------------------------------------------------
.INCLUDE
:
target.mk
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