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
the thread_yield return value considers blocked threads too
2010-01-14
Giu
s
eppe Scriva
n
o
the threa
d
_y
i
eld return value considers bloc
k
ed thread
s
too
commit
|
commitdiff
|
tree
2010-01-14
Giuse
p
p
e
Scrivano
xg_sele
c
t uses thread_
s
elect
commit
|
commitdiff
|
tree
2010-01-13
Giuseppe Scrivano
Fi
x
gn
u
s
star
t
u
p i
n
a sep
a
rate thread
.
commit
|
commitdiff
|
tree
2010-01-13
G
iuseppe Scrivano
local_var_alist_ is shared by
threads
.
commit
|
commitdiff
|
tree
2010-01-12
Giuse
p
pe Scriv
a
no
Cleanup
commit
|
commitdiff
|
tree
2010-01-11
Giu
s
eppe Sc
r
ivano
Fix some bindin
g
-tests
u
it
e
.
el
test cases when thr
e
ads
.
.
.
commit
|
commitdiff
|
tree
2010-01-11
Giusep
p
e S
c
rivano
Us
e
g
e
t_curre
n
t_th
r
ead to retrieve the c
u
rrent th
r
ead
.
.
.
commit
|
commitdiff
|
tree
2010-01-11
Giuse
p
pe
Scr
i
vano
F
i
x a bug introduced b
y
r
ece
n
t ch
a
nges
commit
|
commitdiff
|
tree
2010-01-03
G
iuseppe Scrivano
Use th
e
`realvalue' wh
e
n the
default b
i
nd
i
ng i
s
used
.
commit
|
commitdiff
|
tree
2010-01-03
Giuseppe Scriva
n
o
Unbind thread-bound variables when t
h
e thread is terminated
.
commit
|
commitdiff
|
tree
2010-01-03
Giuseppe Scr
i
vano
P
r
o
pagate buffe
r
-local-va
r
iab
l
es changes to o
t
her
thr
e
ads
.
commit
|
commitdiff
|
tree
2010-01-02
Gius
e
ppe Scrivano
Buffer local va
r
iable
s
per-thread a
l
most work now
commit
|
commitdiff
|
tree
2010-01-01
Giuse
p
pe Scrivano
U
s
e the glo
b
al value as in
i
ti
a
l realvalue
.
commit
|
commitdiff
|
tree
2010-01-01
G
i
useppe Sc
r
ivano
Han
d
le defa
u
l
t
value
commit
|
commitdiff
|
tree
2009-12-31
Giuseppe Scrivano
Fix gc segf
a
ul
t
.
commit
|
commitdiff
|
tree
2009-12-31
Giuseppe
Scriv
a
no
Use
the
buff
e
r
local valu
e
for sym
v
al
fo
r
wardin
g
commit
|
commitdiff
|
tree
2009-12-31
G
i
us
e
ppe Scrivano
Avoid
a
d
o
uble symval forwardi
n
g
commit
|
commitdiff
|
tree
2009-12-31
Giuseppe
Scrivano
Fix per-thread buffer-lo
c
al v
a
riables
commit
|
commitdiff
|
tree
2009-12-31
G
i
use
p
pe Scrivan
o
F
i
x make bo
o
tstrap
commit
|
commitdiff
|
tree
2009-12-31
Giuseppe S
c
r
i
vano
now realv
a
lu
e
is a
Lisp_Thr
e
adLocal
commit
|
commitdiff
|
tree
2009-12-28
Gi
u
sepp
e
Scrivano
Initialize
realvalue to s
y
m
-
>v
a
lue
.
commit
|
commitdiff
|
tree
2009-12-27
Giuseppe Scri
v
ano
R
e
move contro
l
, l->thre
a
d_
d
a
ta ca
n
't be nil
a
t thi
s
.
.
.
commit
|
commitdiff
|
tree
2009-12-27
Giu
s
eppe
S
cr
i
van
o
b
local_get_thread_data is not u
s
e
d before bloca
l
_set_thread_
.
.
.
commit
|
commitdiff
|
tree
2009-12-26
Gius
e
ppe Scrivano
M
o
ve realvalue to thread_
d
ata
.
commit
|
commitdiff
|
tree
2009-12-26
Giuseppe Scrivano
R
e
nam
e
s
truct Lisp_Buffer
_
Local_Value
`cdrs'
membe
r
.
.
.
commit
|
commitdiff
|
tree
2009-12-25
G
i
useppe Scrivano
I
nitial per-thread buff
e
r
local
v
a
r
iables
s
upport
.
commit
|
commitdiff
|
tree
2009-11-29
To
m
Tromey
C
hange Lisp_Buffer_Local_V
a
l
ue
r
epresentation
.
commit
|
commitdiff
|
tree
2009-11-15
Tom Tromey
Define and use SE
T
_PER_B
U
F
FER_VALUE_
R
AW
commit
|
commitdiff
|
tree
2009-11-11
Giuse
p
pe Scriv
a
no
Fix some elisp
rout
i
nes
.
commit
|
commitdiff
|
tree
2009-11-11
Giusepp
e
Scrivano
Set the buff
e
r
after the lock is acquired
.
commit
|
commitdiff
|
tree
2009-11-11
Giuseppe Scrivano
Remove d
e
sired_buf
f
er from
the threa
d
_state struct
.
commit
|
commitdiff
|
tree
2009-11-11
Gi
u
seppe Scriv
a
no
Rename
b
uffe
r
_c
o
nd to thr
e
ad_cond
.
commit
|
commitdiff
|
tree
2009-11-09
Giuse
p
pe Scrivano
Remove th
e
b
u
ffer-locking mecha
n
ism
.
commit
|
commitdiff
|
tree
2009-10-08
G
iusepp
e
Sc
r
ivano
Handle th
e
thr
e
ad_notify_kill_buffer return co
d
e
.
commit
|
commitdiff
|
tree
2009-10-08
Giuseppe Scrivano
No
t
ify
t
hreads when a buf
f
er is killed
.
commit
|
commitdiff
|
tree
2009-10-06
Tom Trom
e
y
Initialize threads properly
.
commit
|
commitdiff
|
tree
2009-10-05
G
i
us
e
p
p
e
Scrivano
Inhibit yie
l
d
d
urin
g
a redisplay
commit
|
commitdiff
|
tree
2009-10-05
Giuseppe Scrivano
`unbind_to' will
restore
the previo
u
s inhibit_yield
.
.
.
commit
|
commitdiff
|
tree
2009-10-02
Tom Tr
o
me
y
Use ALLOCATE_
P
SEU
D
OVECTOR
.
commit
|
commitdiff
|
tree
2009-10-01
Giu
s
eppe Scrivano
Mark `l
a
st_
t
hing_searched' and `saved_last_th
i
ng_searc
h
ed
.
.
.
commit
|
commitdiff
|
tree
2009-09-30
Giuseppe Scrivano
A
llow t
o
yield when buffer
l
ocal varia
b
les are let
.
.
.
commit
|
commitdiff
|
tree
2009-09-29
To
m
Tromey
Make
r
e
gu
l
ar expre
s
sion match data per-threa
d
.
commit
|
commitdiff
|
tree
2009-09-28
Tom Trome
y
m
i
nor
up
d
ates to buf
f
er-objfwd patc
h
commit
|
commitdiff
|
tree
2009-09-28
Tom
Tr
o
m
ey
M
ake buffer
-
objfwd variables work p
e
r-t
h
read
.
commit
|
commitdiff
|
tree
2009-09-24
Giuseppe Scrivano
S
e
t the current_buffer properly
.
commit
|
commitdiff
|
tree
2009-09-24
Giuseppe Scrivano
Deta
c
h th
e
thread when it i
s
sleepi
n
g on `
s
elect'
commit
|
commitdiff
|
tree
2009-09-24
G
iusep
p
e Scri
v
ano
Unlock the buffe
r
on yields
w
h
e
n buffer local
vari
a
bles
.
.
.
commit
|
commitdiff
|
tree
2009-09-23
G
iuse
p
p
e S
c
riva
n
o
Yield t
o
another thread if the s
u
bpr
o
ce
s
s has no
data
.
.
.
commit
|
commitdiff
|
tree
2009-09-22
Giu
s
epp
e
Scrivano
Move with-no-threads i
n
side the let bo
d
y block
.
commit
|
commitdiff
|
tree
2009-09-21
Giusep
p
e Scrivano
Define the `wi
t
h-n
o
-thread
s
'
m
acro and use
i
t in t
h
e
.
.
.
commit
|
commitdiff
|
tree
2009-09-21
Giuseppe Scrivano
Fix
a problem with the garbage
c
ollect
o
r, s
t
oring the
.
.
.
commit
|
commitdiff
|
tree
2009-09-19
Giusep
p
e Scrivano
Re
w
rite the condition to
w
ake-up the thread that loc
k
ed
.
.
.
commit
|
commitdiff
|
tree
2009-09-19
T
om Tromey
Define with-new-thre
a
d macro
.
commit
|
commitdiff
|
tree
2009-09-19
Tom Tromey
Call err
o
r if th
r
ead creation faile
d
.
commit
|
commitdiff
|
tree
2009-09-19
Gius
e
ppe Scrivano
Raise an error when the thread cannot b
e
created co
r
r
ectly
.
commit
|
commitdiff
|
tree
2009-09-19
Gi
u
sep
p
e Scrivano
Implementat
i
on of a c
u
stom threads scheduler
.
T
ry to
.
.
.
commit
|
commitdiff
|
tree
2009-09-19
Gi
u
seppe
S
crivano
Mov
e
all locking
l
ogic into
t
hread
.
c
.
commit
|
commitdiff
|
tree
2009-09-19
Giuseppe Sc
r
ivano
When there are
o
t
h
er active
threads, yield re
t
u
r
n
s t
.
commit
|
commitdiff
|
tree
2009-09-18
Giuseppe Scrivano
run-in-th
r
ead acce
p
ts a
n
e
w
optional a
r
gume
n
t: nolock
.
commit
|
commitdiff
|
tree
2009-09-18
Gi
u
s
e
p
pe Scrivano
Prot
e
ct from yield whi
l
e
waitin
g
for
keybo
a
rd i
n
put
.
commit
|
commitdiff
|
tree
2009-09-18
Giuseppe Scri
v
ano
Fix a problem i
n
troduced
w
ith 9
5
41917a66e9ef5
9
a
6
4bfe
1
9c0d4a6
.
.
.
commit
|
commitdiff
|
tree
2009-09-18
Giuseppe Scrivano
Blo
c
k
y
i
eld i
f
garbage co
l
le
c
ting can cause
a
n abort
.
commit
|
commitdiff
|
tree
2009-09-18
Gius
e
pp
e
Scriv
a
no
A
n
ew
thread main
t
ain the p
a
r
e
nt's buffer
wh
e
n the
.
.
.
commit
|
commitdiff
|
tree
2009-09-18
Giuseppe Scr
i
vano
B
l
oc
k
yield w
h
en input is bloc
k
ed
.
commit
|
commitdiff
|
tree
2009-09-18
Giusepp
e
Scriva
n
o
When F
i
nhibi
t
_yield is n
o
t-n
i
l, a
l
low
a
ccess to any
.
.
.
commit
|
commitdiff
|
tree
2009-09-17
Gius
e
ppe Scrivano
Fix a bug in
t
roduc
e
d i
n
cc
d
c353864000ec8f13cb64d95c
d
5774510
f
a
3
02
commit
|
commitdiff
|
tree
2009-09-17
G
i
us
e
ppe Scrivano
Use `waitpid'
t
o check
i
f
a process
is still alive
.
.
.
commit
|
commitdiff
|
tree
2009-09-17
Gius
e
ppe Scrivano
A
l
low access to the minibuffer only
to
a thread at
.
.
.
commit
|
commitdiff
|
tree
2009-09-17
Giuseppe
S
cri
v
an
o
Ho
n
or the functi
o
n ret
u
rn type
.
commit
|
commitdiff
|
tree
2009-09-17
Gius
e
ppe Sc
r
ivano
Avoid the access to NULL memory while gc
ma
r
k
s
.
commit
|
commitdiff
|
tree
2009-09-17
Giusep
p
e Scr
i
van
o
R
e
m
o
ve assertion that does not seem va
l
id anymore
.
commit
|
commitdiff
|
tree
2009-09-17
Giuseppe Scrivano
Now it is
p
ossible to disable
t
hreadin
g
us
i
ng "inhibit
.
.
.
commit
|
commitdiff
|
tree
2009-09-17
Giuseppe Scr
i
van
o
Reflect last changes i
n
the GDB sc
r
ipt
.
commit
|
commitdiff
|
tree
2009-09-17
Giuseppe
S
crivano
Signals ca
n
b
e captured by any t
h
read
.
commit
|
commitdiff
|
tree
2009-09-16
G
iusepp
e
Scrivano
I
nitialize a n
e
w buffer
'
s owner to
n
i
l
.
commit
|
commitdiff
|
tree
2009-09-16
Gi
u
seppe Scrivano
S
upport mor
e
complex
c
o
de bloc
k
s
as ar
g
u
m
ent to `run
.
.
.
commit
|
commitdiff
|
tree
2009-09-16
Giuseppe
Scrivano
Free the thread specdl
.
Bug introduced with c466c557f39fc71c
.
.
.
commit
|
commitdiff
|
tree
2009-09-16
G
ius
e
ppe Scr
i
van
o
R
e
v
e
rt t
o
the previous cod
e
.
commit
|
commitdiff
|
tree
2009-09-16
Gius
e
p
p
e Scrivano
Check for `other_threa
d
s_p ()' in the inner loop
t
oo
.
.
.
commit
|
commitdiff
|
tree
2009-09-16
Giuseppe Scrivano
Solve som
e
prob
l
ems with memory cleanup
.
commit
|
commitdiff
|
tree
2009-09-15
Giuseppe Scrivano
Fix a segf
a
ult when m_cu
r
rent_b
u
ffer is N
U
LL
commit
|
commitdiff
|
tree
2009-09-15
Giuseppe Sc
r
ivano
Initi
a
l
i
ze stack_top
whe
n
a ne
w
thread is cre
a
t
ed
.
commit
|
commitdiff
|
tree
2009-09-14
Tom
T
romey
Re
l
ease the current
buffer
when
a thre
a
d
e
xits
.
commit
|
commitdiff
|
tree
2009-09-13
Tom Trom
e
y
Fix boundp and a b
u
g in store_symv
a
l
_forwardin
g
.
commit
|
commitdiff
|
tree
2009-09-11
Tom Tr
o
mey
Fir
s
t w
o
rking draft of threa
d
-local binding
.
commit
|
commitdiff
|
tree
2009-09-11
Tom Tromey
Fix
a
n
o
ther ov
e
rsight in thread
.
c
.
commit
|
commitdiff
|
tree
2009-09-11
Tom Tromey
Fix tw
o
bad b
u
g
s i
n
thread
.
c
.
commit
|
commitdiff
|
tree
2009-09-09
Tom Tromey
I
nitial code for
buffe
r
locking
.
commit
|
commitdiff
|
tree
2009-09-09
Tom
Trom
e
y
Introd
u
ce thre
a
d
s
.
commit
|
commitdiff
|
tree
2009-09-09
Tom Tromey
Intro
d
uce th
r
ea
d
-l
o
cal object
.
commit
|
commitdiff
|
tree
2009-09-09
Tom Tromey
Rewrite globals to
a
l
low indir
e
ction
in C
.
commit
|
commitdiff
|
tree
2009-09-09
Tom Tromey
A
dd find_va
r
iabl
e
_location and create glo
b
als
.
h
.
commit
|
commitdiff
|
tree
2009-09-09
Tom Trom
e
y
A
dded a small test s
u
ite for binding operations
.
commit
|
commitdiff
|
tree