repo.or.cz
/
emacs.git
/
search
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
first
·
prev
·
next
Mutex object initial implementation.
2010-02-12
Giusepp
e
S
crivano
M
u
tex object ini
t
ial
impleme
n
ta
t
ion
.
commit
|
commitdiff
|
tree
2010-01-22
Giusep
p
e Sc
r
i
vano
R
evert
"
Support more complex code blocks as argument
.
.
.
commit
|
commitdiff
|
tree
2010-01-14
Giuseppe Scr
i
v
a
no
Rem
o
ve
blocal_g
e
trealvalue
commit
|
commitdiff
|
tree
2010-01-14
Giuseppe Scrivano
If a no-l
e
t-bound bu
f
fer-local
s
y
mbol's value is mo
d
i
f
ied
.
.
.
commit
|
commitdiff
|
tree
2010-01-14
Gi
u
se
p
pe Scr
i
vano
the
t
h
read_y
i
el
d
r
eturn value considers blocked
t
hreads too
commit
|
commitdiff
|
tree
2010-01-14
Giu
s
eppe Scrivano
xg_select uses thread_s
e
l
ect
commit
|
commitdiff
|
tree
2010-01-13
G
iuseppe
Scrivano
Fix gnus startup in a separate thr
e
ad
.
commit
|
commitdiff
|
tree
2010-01-13
Giuseppe Scrivano
local_var_alist_ is s
h
ared by threads
.
commit
|
commitdiff
|
tree
2010-01-12
Gi
u
s
e
p
p
e
S
crivano
Clean
u
p
commit
|
commitdiff
|
tree
2010-01-11
Giusep
p
e Scrivano
F
ix some binding-testsui
t
e
.
el te
s
t cas
e
s
w
hen threads
.
.
.
commit
|
commitdiff
|
tree
2010-01-11
Giuseppe Scrivano
Use get_c
u
rrent_thread to retrieve the current
thread
.
.
.
commit
|
commitdiff
|
tree
2010-01-11
Giusepp
e
S
c
riv
a
no
F
i
x
a bug introduce
d
by recent
c
h
anges
commit
|
commitdiff
|
tree
2010-01-03
Giu
s
eppe Scr
i
va
n
o
Use the `realvalue'
whe
n
th
e
defa
u
lt bindin
g
is used
.
commit
|
commitdiff
|
tree
2010-01-03
Giuseppe Scrivano
Unbind thread-bound variable
s
when
t
h
e thread is t
e
rminated
.
commit
|
commitdiff
|
tree
2010-01-03
Gi
u
s
e
p
p
e Scrivano
Propagate buff
e
r-local
-
variables c
h
ang
e
s
t
o other t
h
reads
.
commit
|
commitdiff
|
tree
2010-01-02
G
iuse
p
pe
Scrivano
Buffer local
variabl
e
s per-thr
e
ad a
l
mos
t
work now
commit
|
commitdiff
|
tree
2010-01-01
Giuseppe Scrivan
o
Use the
gl
o
b
a
l value
a
s initial realv
a
lue
.
commit
|
commitdiff
|
tree
2010-01-01
Gius
e
pp
e
Scr
i
vano
H
andle
d
efault valu
e
commit
|
commitdiff
|
tree
2009-12-31
Gi
u
seppe S
c
rivano
Fix g
c
segfault
.
commit
|
commitdiff
|
tree
2009-12-31
G
iuseppe Scrivan
o
Use th
e
buff
e
r local value for symval f
o
rwarding
commit
|
commitdiff
|
tree
2009-12-31
Giusepp
e
Scrivano
Avoid
a
double
s
ymval forwarding
commit
|
commitdiff
|
tree
2009-12-31
Giusepp
e
Sc
r
ivano
F
ix per
-
thread
b
uffer-loc
a
l varia
b
les
commit
|
commitdiff
|
tree
2009-12-31
Gius
e
ppe Scrivano
F
i
x
mak
e
boo
t
s
t
rap
commit
|
commitdiff
|
tree
2009-12-31
Giuseppe Scrivano
now realvalue is a L
i
sp_Threa
d
Local
commit
|
commitdiff
|
tree
2009-12-28
G
iusepp
e
Sc
r
i
vano
Init
i
a
lize realvalu
e
to sym->value
.
commit
|
commitdiff
|
tree
2009-12-27
Giuseppe Scrivano
Remove c
o
ntrol, l->thread_
d
ata
can
'
t be ni
l
at thi
s
.
.
.
commit
|
commitdiff
|
tree
2009-12-27
Giu
s
ep
p
e Scriva
n
o
blocal_get_thread_data is not used before bloca
l
_
set_thr
e
ad_
.
.
.
commit
|
commitdiff
|
tree
2009-12-26
G
iuseppe Scriva
n
o
Move realvalue to th
r
ead_data
.
commit
|
commitdiff
|
tree
2009-12-26
Giuse
p
pe S
c
rivan
o
Ren
a
me stru
c
t Lisp
_
Buffer_Local_
V
al
u
e `cdrs' mem
b
er
.
.
.
commit
|
commitdiff
|
tree
2009-12-25
Gius
e
pp
e
Scrivano
Initial per-thread buffer local vari
a
bles
support
.
commit
|
commitdiff
|
tree
2009-11-11
Giuse
p
pe Scrivano
F
i
x some elisp routines
.
commit
|
commitdiff
|
tree
2009-11-11
Giuseppe Scrivano
Set the buf
f
er af
t
er the
lock is acq
u
ir
e
d
.
commit
|
commitdiff
|
tree
2009-11-11
Gius
e
ppe Scrivano
Remov
e
desired_bu
f
fer from the th
r
ead_state struct
.
commit
|
commitdiff
|
tree
2009-11-11
Gius
e
ppe Scrivano
Rename b
u
ffer_cond to
thread_cond
.
commit
|
commitdiff
|
tree
2009-11-09
G
i
usepp
e
Scri
v
ano
Remove the buffer-lo
c
king mechanism
.
commit
|
commitdiff
|
tree
2009-10-08
Giuseppe Scriv
a
no
H
an
d
le the thread_no
t
ify_kill_buffer re
t
urn code
.
commit
|
commitdiff
|
tree
2009-10-08
Giuseppe Scrivano
Notify th
r
ead
s
wh
e
n
a
buf
f
er is kille
d
.
commit
|
commitdiff
|
tree
2009-10-05
Giuseppe Scrivano
Inhibi
t
yield during a
r
e
d
ispla
y
commit
|
commitdiff
|
tree
2009-10-05
Giuseppe Scriva
n
o
`u
n
bind_to' will rest
o
re the previ
o
us in
h
ibit_y
i
eld
.
.
.
commit
|
commitdiff
|
tree
2009-10-01
Gi
u
sepp
e
S
crivano
M
a
rk `last_thing_s
e
arched' and `saved_last_thi
n
g_searched
.
.
.
commit
|
commitdiff
|
tree
2009-09-30
Giuseppe Scrivan
o
Allow to
y
ield whe
n
buffer
local variabl
e
s are let
.
.
.
commit
|
commitdiff
|
tree
2009-09-24
Giuseppe
S
crivano
Set the
c
u
r
rent_buffer properly
.
commit
|
commitdiff
|
tree
2009-09-24
Giuseppe Scrivano
Detach
t
he th
r
ead when it is sleeping o
n
`select'
commit
|
commitdiff
|
tree
2009-09-24
G
iu
s
eppe S
c
rivano
Unl
o
ck
t
he buffer on y
i
elds when buffer
l
o
cal variables
.
.
.
commit
|
commitdiff
|
tree
2009-09-23
Gi
u
seppe Scrivano
Yield to another thr
e
ad
i
f
the su
b
pro
c
ess h
a
s
n
o data
.
.
.
commit
|
commitdiff
|
tree
2009-09-22
G
i
useppe Scrivano
M
o
v
e with-no-threads inside
the
let bo
d
y block
.
commit
|
commitdiff
|
tree
2009-09-21
Giuseppe S
c
rivano
D
e
fi
n
e t
h
e `wit
h
-n
o
-threads' macr
o
and
u
se it in th
e
.
.
.
commit
|
commitdiff
|
tree
2009-09-21
G
iuseppe Scrivano
Fix a problem wit
h
th
e
g
a
r
bag
e
collector,
storing th
e
.
.
.
commit
|
commitdiff
|
tree
2009-09-19
Giuse
p
pe Scrivan
o
Rew
r
i
te t
h
e
c
ondition t
o
wake-u
p
the thread
t
hat
l
o
cked
.
.
.
commit
|
commitdiff
|
tree
2009-09-19
Giusepp
e
Scriv
a
no
Raise an error whe
n
the
t
hread can
n
o
t
be created correctly
.
commit
|
commitdiff
|
tree
2009-09-19
Giuse
p
pe Scr
i
vano
Impleme
n
tation of a custom threa
d
s scheduler
.
T
ry to
.
.
.
commit
|
commitdiff
|
tree
2009-09-19
Giu
s
eppe Scr
i
vano
Mov
e
all locking logic
i
nto
thread
.
c
.
commit
|
commitdiff
|
tree
2009-09-19
Giuseppe Scrivano
When the
r
e are other active t
h
r
e
ads,
y
i
e
ld r
e
turns t
.
commit
|
commitdiff
|
tree
2009-09-18
Giuse
p
pe Scrivano
run-in-thread
a
ccepts a new optional argument: nolock
.
commit
|
commitdiff
|
tree
2009-09-18
Giusep
p
e Scriva
n
o
P
r
ot
e
c
t
from
yield while
wai
t
ing fo
r
keyboard
input
.
commit
|
commitdiff
|
tree
2009-09-18
Giuseppe
Scrivano
Fix a problem int
r
oduced with 9541917a
6
6e9ef59a
6
4bfe19c
0
d4
a
6
.
.
.
commit
|
commitdiff
|
tree
2009-09-18
G
iuseppe Scriv
a
no
Block yield if ga
r
bage
c
o
llectin
g
can
c
a
u
se an abort
.
commit
|
commitdiff
|
tree
2009-09-18
Giuse
p
pe
Sc
r
iva
n
o
A
n
ew th
r
ead
m
aintain th
e
parent's b
u
ffer when the
.
.
.
commit
|
commitdiff
|
tree
2009-09-18
Giuseppe Sc
r
ivano
Block yield when input
is blocked
.
commit
|
commitdiff
|
tree
2009-09-18
Gius
e
ppe
Scriv
a
no
When
F
inhibit
_
yield is no
t
-nil, allow a
c
cess to any
.
.
.
commit
|
commitdiff
|
tree
2009-09-17
G
iuseppe S
c
rivano
Fix
a bug i
n
troduced in ccdc353864000e
c
8
f13cb64d95cd5774510fa302
commit
|
commitdiff
|
tree
2009-09-17
Gi
u
s
eppe Scrivano
Use `waitpid'
t
o
check if a process is stil
l
alive
.
.
.
commit
|
commitdiff
|
tree
2009-09-17
Giuseppe Scrivano
All
o
w
access to
t
he min
i
buffer only to a thread at
.
.
.
commit
|
commitdiff
|
tree
2009-09-17
Gius
e
ppe
Scriv
a
no
Hon
o
r the function return type
.
commit
|
commitdiff
|
tree
2009-09-17
G
i
useppe
Scrivano
Avoid
the access to NULL memory while gc marks
.
commit
|
commitdiff
|
tree
2009-09-17
G
i
useppe Scrivano
Remove asse
r
tion th
a
t does not se
e
m
valid anymore
.
commit
|
commitdiff
|
tree
2009-09-17
Giuseppe Sc
r
ivano
Now it i
s
possible
t
o di
s
a
b
le threading
u
sing "inhib
i
t
.
.
.
commit
|
commitdiff
|
tree
2009-09-17
Giuse
p
pe
S
crivano
Refle
c
t
las
t
changes in the
G
DB s
c
ript
.
commit
|
commitdiff
|
tree
2009-09-17
Giuseppe Scri
v
ano
Si
g
nals can be
c
aptured b
y
a
ny
t
hread
.
commit
|
commitdiff
|
tree
2009-09-16
Giuseppe Scri
v
a
no
In
i
tialize a new buff
e
r
'
s owner to nil
.
commit
|
commitdiff
|
tree
2009-09-16
Gius
e
ppe Scrivano
Support more complex cod
e
b
l
ock
s
a
s
a
rgument to `
r
u
n
.
.
.
commit
|
commitdiff
|
tree
2009-09-16
G
i
useppe Scriv
a
no
Free the t
h
re
a
d specdl
.
B
u
g introduced with
c466c557f39fc71c
.
.
.
commit
|
commitdiff
|
tree
2009-09-16
Giuse
p
pe Sc
r
i
v
ano
Re
v
ert to the previous code
.
commit
|
commitdiff
|
tree
2009-09-16
Giuse
p
pe S
c
rivano
Check f
o
r `other_threads_p ()'
i
n
t
h
e
inner loo
p
too
.
.
.
commit
|
commitdiff
|
tree
2009-09-16
G
iusepp
e
Scrivano
S
olve some problems with memo
r
y cleanup
.
commit
|
commitdiff
|
tree
2009-09-15
Gi
u
s
eppe Scrivano
Fix a segfaul
t
when m_c
u
rren
t
_buf
f
er
i
s NULL
commit
|
commitdiff
|
tree
2009-09-15
G
i
use
p
pe
S
c
r
i
v
a
n
o
Initia
l
ize stack_top
w
hen a new thread is cr
e
ate
d
.
commit
|
commitdiff
|
tree