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
Fix a bug introduced by recent changes
2010-01-11
Gi
u
seppe Scrivano
Fix a bug introduced by recent ch
a
nges
commit
|
commitdiff
|
tree
2010-01-03
G
iusepp
e
Scrivano
Use
t
he `realvalu
e
' when
the default binding is used
.
commit
|
commitdiff
|
tree
2010-01-03
Giuseppe
S
crivan
o
Unbind thread-
b
ound v
a
riables when t
h
e thread is terminated
.
commit
|
commitdiff
|
tree
2010-01-03
Giusepp
e
Scrivano
Propagate b
u
ffer-local-vari
a
b
l
es changes
t
o other threads
.
commit
|
commitdiff
|
tree
2010-01-02
Gius
e
ppe Scriv
a
no
B
u
ffe
r
local variables per-thread al
m
ost work no
w
commit
|
commitdiff
|
tree
2010-01-01
Gius
e
ppe Scrivano
Use th
e
gl
o
bal
v
alue as in
i
tial
realv
a
lue
.
commit
|
commitdiff
|
tree
2010-01-01
G
iuseppe
Sc
r
iv
a
no
H
a
ndle
defaul
t
value
commit
|
commitdiff
|
tree
2009-12-31
Giuseppe Scrivan
o
Fix gc s
e
gfault
.
commit
|
commitdiff
|
tree
2009-12-31
G
i
useppe S
c
rivano
Use the buffer local value fo
r
symva
l
forwarding
commit
|
commitdiff
|
tree
2009-12-31
Giuseppe Scrivano
Avoi
d
a
double s
y
mval forw
a
rdi
n
g
commit
|
commitdiff
|
tree
2009-12-31
Giusepp
e
Scrivano
Fix per-thread
b
uff
e
r-
l
o
cal
v
ariable
s
commit
|
commitdiff
|
tree
2009-12-31
G
ius
e
ppe Scrivano
Fix make bootstrap
commit
|
commitdiff
|
tree
2009-12-31
Giuseppe
Scri
v
ano
no
w
rea
l
va
l
ue
is
a Lis
p
_ThreadLocal
commit
|
commitdiff
|
tree
2009-12-28
G
i
useppe Scrivano
In
i
tialize
r
ealval
u
e to sym
-
>value
.
commit
|
commitdiff
|
tree
2009-12-27
Giuseppe S
c
r
i
v
a
n
o
R
emove contr
o
l, l->threa
d
_data ca
n
'
t be nil a
t
t
h
is
.
.
.
commit
|
commitdiff
|
tree
2009-12-27
Gi
u
se
p
pe Scrivano
blocal_ge
t
_thread_data is
n
ot used b
e
f
o
r
e
bl
o
cal_set_thre
a
d_
.
.
.
commit
|
commitdiff
|
tree
2009-12-26
Giuseppe Scrivano
Mov
e
re
a
lvalue to t
h
read_d
a
ta
.
commit
|
commitdiff
|
tree
2009-12-26
Gi
u
seppe Scri
v
ano
Rename struct Li
s
p_
B
uf
f
er_Local_Value
`
cdrs' member
.
.
.
commit
|
commitdiff
|
tree
2009-12-25
Giuseppe S
c
rivano
In
i
tial per-thre
a
d
bu
f
fer local v
a
riables
s
upport
.
commit
|
commitdiff
|
tree
2009-11-29
T
o
m Tromey
C
hange Lisp_Buffer_Local_Value re
p
resentation
.
commit
|
commitdiff
|
tree
2009-11-15
Tom
Tr
o
mey
Define and us
e
SET_P
E
R_BUFF
E
R_VALUE_RAW
commit
|
commitdiff
|
tree
2009-11-11
Giuseppe Scrivano
Fi
x
some elisp routin
e
s
.
commit
|
commitdiff
|
tree
2009-11-11
Giuseppe
Scrivano
S
e
t the buffer after the
l
ock is a
c
quired
.
commit
|
commitdiff
|
tree
2009-11-11
Gius
e
ppe Scrivano
Remove
desir
e
d_buffer from the thread_stat
e
struct
.
commit
|
commitdiff
|
tree
2009-11-11
Giu
s
ep
p
e Scrivano
R
e
name
b
u
ffer_cond to th
r
e
ad_cond
.
commit
|
commitdiff
|
tree
2009-11-09
Giu
s
e
ppe Scrivano
Remove the buf
f
er-locking mechanism
.
commit
|
commitdiff
|
tree
2009-10-08
Giuseppe Sc
r
ivano
Handle the thread_no
t
ify_kill_
b
uffer return
code
.
commit
|
commitdiff
|
tree
2009-10-08
Giusepp
e
Scrivano
Notify threads
when a buffer is killed
.
commit
|
commitdiff
|
tree
2009-10-06
Tom Tromey
Initialize threads
p
r
oper
l
y
.
commit
|
commitdiff
|
tree
2009-10-05
Giuseppe Scr
i
vano
Inh
i
bit yield d
u
ring a redi
s
play
commit
|
commitdiff
|
tree
2009-10-05
G
iuseppe S
c
rivano
`unbind_to'
wil
l
restore th
e
previ
o
us inhibit_yield
.
.
.
commit
|
commitdiff
|
tree
2009-10-02
T
o
m
T
romey
Use ALL
O
CATE_PSE
U
DOV
E
CTOR
.
commit
|
commitdiff
|
tree
2009-10-01
G
iuseppe Scrivan
o
Mar
k
`last
_
thing_se
a
rched' a
n
d `saved_last_
t
hing_se
a
rched
.
.
.
commit
|
commitdiff
|
tree
2009-09-30
Giuse
p
pe
S
c
ri
v
ano
Allow to yield when buf
f
er local var
i
a
b
les are
le
t
.
.
.
commit
|
commitdiff
|
tree
2009-09-29
Tom T
r
omey
Make regular ex
p
ression m
a
t
c
h
data p
e
r-thread
.
commit
|
commitdiff
|
tree
2009-09-28
Tom Tromey
m
i
nor updates to buffer-obj
f
wd pat
c
h
commit
|
commitdiff
|
tree
2009-09-28
Tom Tromey
Make buff
e
r-ob
j
fwd variables work per-
t
hread
.
commit
|
commitdiff
|
tree
2009-09-24
Giuseppe Scr
i
v
ano
Set the
c
u
r
r
e
nt_buffer
properly
.
commit
|
commitdiff
|
tree
2009-09-24
Giusep
p
e Scrivano
Detach the
thread when it is sleeping on `select'
commit
|
commitdiff
|
tree
2009-09-24
Giuseppe Scrivano
Unlock
the buf
f
e
r on yields
w
hen buffer
l
ocal varia
b
les
.
.
.
commit
|
commitdiff
|
tree
2009-09-23
Giusep
p
e Scrivano
Yield to an
o
ther thread if the su
b
p
r
ocess
h
as no
data
.
.
.
commit
|
commitdiff
|
tree
2009-09-22
Giuseppe Sc
r
i
v
a
n
o
M
ove with-no-
t
h
reads insid
e
the
let body block
.
commit
|
commitdiff
|
tree
2009-09-21
Giuseppe Scriva
n
o
Define the
`
with
-
no-threads'
macro
and use
i
t in the
.
.
.
commit
|
commitdiff
|
tree
2009-09-21
Gi
u
seppe Scrivano
Fix a prob
l
em w
i
th
the ga
r
b
a
ge collector, st
o
ring
t
he
.
.
.
commit
|
commitdiff
|
tree
2009-09-19
Giuseppe Scrivano
R
e
write th
e
condition to wake-u
p
the
t
hre
a
d that locked
.
.
.
commit
|
commitdiff
|
tree
2009-09-19
T
o
m Tr
o
m
e
y
D
e
fine wi
t
h-new-th
r
e
ad macro
.
commit
|
commitdiff
|
tree
2009-09-19
T
o
m Tromey
C
all error if thread creation failed
.
commit
|
commitdiff
|
tree
2009-09-19
Giuseppe
S
c
rivano
Raise an
err
o
r
when the
t
hread cannot b
e
c
reat
e
d corre
c
tl
y
.
commit
|
commitdiff
|
tree
2009-09-19
Giuseppe Scrivan
o
I
m
p
l
emen
t
ation of a cust
o
m
threads sche
d
ule
r
.
Try to
.
.
.
commit
|
commitdiff
|
tree
2009-09-19
G
iu
s
eppe
Scrivano
Move all lock
i
ng log
i
c in
t
o threa
d
.
c
.
commit
|
commitdiff
|
tree
2009-09-19
Giuseppe
Scrivano
Wh
e
n there are other active threads, yie
l
d
returns t
.
commit
|
commitdiff
|
tree
2009-09-18
Gius
e
p
pe Scriva
n
o
run-in-thread accepts a new optional argum
e
nt: nolock
.
commit
|
commitdiff
|
tree
2009-09-18
Giuseppe S
c
rivano
Pro
t
ect from yield while waiting for
k
e
yboard
inpu
t
.
commit
|
commitdiff
|
tree
2009-09-18
Giuseppe
Scriva
n
o
Fix a pro
b
lem introd
u
ced
w
ith 9
5
41917a66e9
e
f59a6
4
bfe19c0
d
4a6
.
.
.
commit
|
commitdiff
|
tree
2009-09-18
Giu
s
eppe S
c
rivano
B
l
o
ck yield
i
f garbage collecting can
cause an abor
t
.
commit
|
commitdiff
|
tree
2009-09-18
Giuseppe Scriva
n
o
A new t
h
read maintain th
e
parent'
s
buffer whe
n
t
h
e
.
.
.
commit
|
commitdiff
|
tree
2009-09-18
Giuseppe Scrivano
Block yield
w
hen
i
nput i
s
blocked
.
commit
|
commitdiff
|
tree
2009-09-18
Giuseppe S
c
r
i
vano
When F
i
nhibi
t
_yield is not-nil, all
o
w
access to any
.
.
.
commit
|
commitdiff
|
tree
2009-09-17
Giuseppe Scrivano
F
ix
a
b
u
g i
n
t
roduced
i
n ccdc353
8
640
0
0ec8f
1
3cb6
4
d
95cd5
7
74
5
10
f
a302
commit
|
commitdiff
|
tree
2009-09-17
Giuseppe Scrivano
Use `wa
i
t
p
id' to check if a process is still alive
.
.
.
commit
|
commitdiff
|
tree
2009-09-17
Giuse
p
pe S
c
rivano
Allow access to the mini
b
uf
f
er
o
nly
t
o a thread at
.
.
.
commit
|
commitdiff
|
tree
2009-09-17
Giusepp
e
Scrivano
H
o
no
r
the
f
unc
t
i
o
n return type
.
commit
|
commitdiff
|
tree
2009-09-17
Giuseppe
Scrivano
Avoid
the access to NULL memory while gc marks
.
commit
|
commitdiff
|
tree
2009-09-17
Giuseppe Scrivano
Remo
v
e
assertion that
does not seem valid anymor
e
.
commit
|
commitdiff
|
tree
2009-09-17
Gius
e
p
pe Scrivano
No
w
i
t
i
s
pos
s
ibl
e
to
disable threading using "inhibit
.
.
.
commit
|
commitdiff
|
tree
2009-09-17
G
i
useppe Scriv
a
no
Reflect
l
ast ch
a
nges
i
n t
h
e
G
DB scr
i
pt
.
commit
|
commitdiff
|
tree
2009-09-17
Giuseppe Scrivano
Signals can
be
c
aptu
r
e
d by any th
r
ead
.
commit
|
commitdiff
|
tree
2009-09-16
Gi
u
sep
p
e
Scrivan
o
Init
i
al
i
ze a new buf
f
er's owner to nil
.
commit
|
commitdiff
|
tree
2009-09-16
G
iusep
p
e
Scrivano
S
u
p
p
ort m
o
re c
o
mpl
e
x
code blocks
as argumen
t
to `
r
un
.
.
.
commit
|
commitdiff
|
tree
2009-09-16
Giuseppe Scr
i
vano
Free the thread specdl
.
Bug introd
u
ce
d
with c
4
66c557f39
f
c
7
1
c
.
.
.
commit
|
commitdiff
|
tree
2009-09-16
Giuseppe Scrivano
Revert to
the prev
i
o
us code
.
commit
|
commitdiff
|
tree
2009-09-16
Gi
u
seppe Scrivano
Check for `other_thr
e
a
ds_p ()' in
t
he inner loop too
.
.
.
commit
|
commitdiff
|
tree
2009-09-16
Giuseppe Scriv
a
no
Solve
some problems w
i
th m
e
mo
r
y cleanup
.
commit
|
commitdiff
|
tree
2009-09-15
Giusep
p
e
S
c
r
ivano
F
ix
a s
e
gfault when m
_
c
urrent_bu
f
fer is N
U
LL
commit
|
commitdiff
|
tree
2009-09-15
G
iuseppe Scrivano
Initi
a
lize
stack_t
o
p when a new thr
e
ad is c
r
eated
.
commit
|
commitdiff
|
tree
2009-09-14
Tom
Tr
o
mey
Release
t
he
c
urr
e
nt buffer when a thread exit
s
.
commit
|
commitdiff
|
tree
2009-09-13
Tom Tromey
Fi
x
boundp and a
bug in st
o
re_symval_
f
orwarding
.
commit
|
commitdiff
|
tree
2009-09-11
Tom
T
romey
Firs
t
workin
g
draft
o
f
th
r
e
a
d-local
b
inding
.
commit
|
commitdiff
|
tree
2009-09-11
Tom Trome
y
Fix another o
v
ers
i
ght in thre
a
d
.
c
.
commit
|
commitdiff
|
tree
2009-09-11
Tom Tromey
Fix two
b
ad
b
u
gs in thread
.
c
.
commit
|
commitdiff
|
tree
2009-09-09
Tom Trome
y
I
n
itial code
fo
r
buffer locking
.
commit
|
commitdiff
|
tree
2009-09-09
Tom Tromey
Introdu
c
e threads
.
commit
|
commitdiff
|
tree
2009-09-09
Tom Trome
y
Introduce thread-local
obj
e
ct
.
commit
|
commitdiff
|
tree
2009-09-09
Tom Tromey
Rewr
i
te globals to allo
w
indir
e
ctio
n
in C
.
commit
|
commitdiff
|
tree
2009-09-09
Tom Tromey
Add fi
n
d_v
a
ria
b
le_loca
t
i
on and create globals
.
h
.
commit
|
commitdiff
|
tree
2009-09-09
Tom
Tro
m
ey
Added
a small test suite for
b
inding op
e
rations
.
commit
|
commitdiff
|
tree