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
Add support for non-recursive mutexes.
2010-03-29
Giusep
p
e
Scr
i
vano
Ad
d
suppor
t
for non-r
e
cu
r
sive mut
e
xes
.
commit
|
commitdiff
|
tree
2010-03-11
Giusep
p
e Scr
i
vano
Fix problems
c
a
used by the
last reb
a
se
.
commit
|
commitdiff
|
tree
2010-02-13
Giu
s
eppe
Sc
r
ivano
Handle exc
l
u
sive access to the
m
inibuf
f
er using
a mutex
.
.
.
commit
|
commitdiff
|
tree
2010-02-12
Gi
u
s
eppe Scr
i
vano
Mut
e
x objec
t
init
i
al implementation
.
commit
|
commitdiff
|
tree
2010-01-22
Gius
e
ppe Scrivano
Revert "Support more comple
x
code blocks as arg
u
ment
.
.
.
commit
|
commitdiff
|
tree
2010-01-14
G
iuseppe Scrivano
Rem
o
ve bl
o
cal
_
g
e
trealvalue
commit
|
commitdiff
|
tree
2010-01-14
Giuseppe
Scrivano
I
f
a n
o
-let-bound buffer
-
l
oc
a
l
symbol's value is modified
.
.
.
commit
|
commitdiff
|
tree
2010-01-14
Giuseppe Scrivano
t
h
e th
r
ead_y
i
eld return
v
alue consid
e
rs blocke
d
threads too
commit
|
commitdiff
|
tree
2010-01-14
Giuseppe S
c
riv
a
no
xg_select uses
threa
d
_select
commit
|
commitdiff
|
tree
2010-01-13
Gius
e
p
pe Scriva
n
o
Fix
g
nus s
t
artup in a se
p
arate threa
d
.
commit
|
commitdiff
|
tree
2010-01-13
Giusepp
e
Scrivano
local
_
var_al
i
s
t_ is shared by threads
.
commit
|
commitdiff
|
tree
2010-01-12
G
iuseppe Scrivano
Cl
e
anup
commit
|
commitdiff
|
tree
2010-01-11
Giuseppe Scrivano
Fix some bindi
n
g-testsuite
.
el tes
t
cases
w
hen threads
.
.
.
commit
|
commitdiff
|
tree
2010-01-11
Giu
s
eppe Scrivano
Use g
e
t_current_threa
d
t
o
retrieve the current thread
.
.
.
commit
|
commitdiff
|
tree
2010-01-11
Giuseppe
Scrivano
Fix a bug introdu
c
ed by rece
n
t cha
n
ges
commit
|
commitdiff
|
tree
2010-01-03
Giu
s
eppe Scrivano
Use th
e
`realva
l
ue' wh
e
n the defa
u
l
t
binding is used
.
commit
|
commitdiff
|
tree
2010-01-03
Giuseppe Scr
i
v
a
no
Unbin
d
t
hread-bound
v
a
r
i
ables when t
h
e thread is terminate
d
.
commit
|
commitdiff
|
tree
2010-01-03
Giuse
p
p
e Scrivano
P
ropagate buffer-local-variables changes to
oth
e
r
t
hreads
.
commit
|
commitdiff
|
tree
2010-01-02
G
i
u
s
e
p
pe S
c
riva
n
o
Buffer local variables per-thread a
l
most work now
commit
|
commitdiff
|
tree
2010-01-01
Giuseppe Scri
v
a
n
o
U
se th
e
global value as initial realvalue
.
commit
|
commitdiff
|
tree
2010-01-01
Giuseppe Scriv
a
no
Handl
e
d
efault value
commit
|
commitdiff
|
tree
2009-12-31
G
i
usepp
e
Sc
r
i
vano
Fix g
c
se
g
f
ault
.
commit
|
commitdiff
|
tree
2009-12-31
Giuseppe
Scrivano
Use
t
h
e
buffer local value
fo
r
s
y
m
val forwarding
commit
|
commitdiff
|
tree
2009-12-31
Giuse
p
pe
Scriv
a
no
A
v
oid a double symval forwa
r
ding
commit
|
commitdiff
|
tree
2009-12-31
Gi
u
s
e
ppe Scrivano
Fix p
e
r-thread buffer-local v
a
riable
s
commit
|
commitdiff
|
tree
2009-12-31
Giuseppe
S
crivano
Fix m
a
k
e
b
o
otstrap
commit
|
commitdiff
|
tree
2009-12-31
Gius
e
p
p
e S
c
rivan
o
now realval
u
e is a Lisp_ThreadLo
c
al
commit
|
commitdiff
|
tree
2009-12-28
Giu
s
epp
e
S
crivan
o
Initi
a
l
i
ze realval
u
e
t
o sym->
v
a
lue
.
commit
|
commitdiff
|
tree
2009-12-27
Giuseppe Scriva
n
o
Remove c
o
ntrol, l->thr
e
ad_data can't be
n
il at
t
his
.
.
.
commit
|
commitdiff
|
tree
2009-12-27
Gi
u
seppe Scrivano
bloca
l
_get
_
thre
a
d_data is
n
ot used be
f
ore blocal
_
set
_
thread
_
.
.
.
commit
|
commitdiff
|
tree
2009-12-26
Giuseppe Scr
i
v
a
no
Move re
a
l
value to thread_data
.
commit
|
commitdiff
|
tree
2009-12-26
Giuseppe Scrivano
Rename
s
truc
t
L
i
sp_Buffer_Lo
c
al_Value `c
d
rs'
memb
e
r
.
.
.
commit
|
commitdiff
|
tree
2009-12-25
G
i
u
seppe Scrivano
Initial per
-
thread buffer local variables
s
uppo
r
t
.
commit
|
commitdiff
|
tree
2009-11-11
Gi
u
seppe
S
crivano
Fix some elisp
r
ou
t
ines
.
commit
|
commitdiff
|
tree
2009-11-11
Giuseppe Scrivano
Set the buffer after
the lock is acqui
r
ed
.
commit
|
commitdiff
|
tree
2009-11-11
Giuseppe Scriv
a
no
Remove d
e
sir
e
d
_
b
u
ffer from the t
h
read_
s
t
at
e
s
truct
.
commit
|
commitdiff
|
tree
2009-11-11
Giuseppe Scr
i
va
n
o
Rename buffer_
c
ond
t
o thread_c
o
nd
.
commit
|
commitdiff
|
tree
2009-11-09
Giuse
p
pe Scrivano
Rem
o
ve the b
u
ffer-loc
k
ing m
e
chanism
.
commit
|
commitdiff
|
tree
2009-10-08
Giusep
p
e Scrivano
Handle the thread_notify_kill_
b
uffer ret
u
rn
c
o
d
e
.
commit
|
commitdiff
|
tree
2009-10-08
Gi
u
seppe Scrivan
o
N
o
tify threads whe
n
a
buffer is killed
.
commit
|
commitdiff
|
tree
2009-10-05
Giuseppe Scrivano
I
n
h
ibit
y
ield during a redisplay
commit
|
commitdiff
|
tree
2009-10-05
Gi
u
seppe Scrivano
`unbind_t
o
'
wil
l
restore
t
h
e
previous inhibi
t
_yield
.
.
.
commit
|
commitdiff
|
tree
2009-10-01
Giu
s
eppe S
c
rivano
M
ark `last_thi
n
g_searche
d
' and `saved_last_thing_searched
.
.
.
commit
|
commitdiff
|
tree
2009-09-30
Gius
e
ppe S
c
riva
n
o
Allow to yield when
b
uffer lo
c
al var
i
ables are let
.
.
.
commit
|
commitdiff
|
tree
2009-09-24
Gi
u
seppe
S
crivano
S
e
t
the
c
urr
e
n
t
_
b
uf
f
er prop
e
rly
.
commit
|
commitdiff
|
tree
2009-09-24
Giuseppe Scr
i
v
ano
Det
a
ch th
e
thread when it i
s
s
l
eeping on `select'
commit
|
commitdiff
|
tree
2009-09-24
Gi
u
s
eppe
Scri
v
ano
Unlo
c
k
t
he buffer on yields when buffer local variables
.
.
.
commit
|
commitdiff
|
tree
2009-09-23
Giuseppe Scri
v
an
o
Yield
t
o a
n
other thread if the
subpro
c
ess has
no d
a
ta
.
.
.
commit
|
commitdiff
|
tree
2009-09-22
G
i
u
se
p
pe Scrivan
o
Move with-no
-
threa
d
s inside the let body block
.
commit
|
commitdiff
|
tree
2009-09-21
Giuseppe Sc
r
ivano
De
f
i
n
e the `wi
t
h-
n
o-t
h
reads' macro and use it in the
.
.
.
commit
|
commitdiff
|
tree
2009-09-21
Giuseppe Scri
v
ano
Fix
a
problem with the garbage collector,
s
t
oring the
.
.
.
commit
|
commitdiff
|
tree
2009-09-19
G
iuseppe Sc
r
ivano
Rewrite the condition to
w
a
k
e-up the t
h
read
that locked
.
.
.
commit
|
commitdiff
|
tree
2009-09-19
Giuse
p
pe
Sc
r
iva
n
o
R
a
i
s
e an error when
t
he thre
a
d cann
o
t be created
correctly
.
commit
|
commitdiff
|
tree
2009-09-19
Gi
u
s
eppe Scriva
n
o
Imp
l
e
m
entation of a custom thre
a
ds scheduler
.
Try to
.
.
.
commit
|
commitdiff
|
tree
2009-09-19
Giuseppe Scrivano
Move all locking
l
o
g
ic into
t
hread
.
c
.
commit
|
commitdiff
|
tree
2009-09-19
Giusep
p
e Scriva
n
o
When there are other
a
cti
v
e threads, y
i
eld returns t
.
commit
|
commitdiff
|
tree
2009-09-18
Giuseppe Scrivano
ru
n
-in-thre
a
d accepts a new opt
i
ona
l
ar
g
ument: nolock
.
commit
|
commitdiff
|
tree
2009-09-18
Giuseppe
Scrivano
Protect from yield while w
a
iting for keyboard input
.
commit
|
commitdiff
|
tree
2009-09-18
Giuseppe Scrivano
Fix a problem
i
ntroduced wi
t
h
954
1
917a66e9ef59a
6
4bfe19c0d4a6
.
.
.
commit
|
commitdiff
|
tree
2009-09-18
Giuseppe Scrivano
Block yield if gar
b
age collecting can caus
e
an abort
.
commit
|
commitdiff
|
tree
2009-09-18
Gius
e
ppe Scri
v
ano
A
new thread maintai
n
the par
e
nt's buff
e
r when the
.
.
.
commit
|
commitdiff
|
tree
2009-09-18
Giuseppe Scrivano
Block yield whe
n
i
n
put is blocked
.
commit
|
commitdiff
|
tree
2009-09-18
Giuseppe
S
crivan
o
When Fi
n
h
ibit_yield is not-nil, all
o
w acce
s
s
to any
.
.
.
commit
|
commitdiff
|
tree
2009-09-17
G
i
usepp
e
Scrivano
Fix a bu
g
introduced i
n
cc
d
c353864000ec8f13cb64d9
5
cd5774510fa3
0
2
commit
|
commitdiff
|
tree
2009-09-17
Giuse
p
p
e
S
c
rivano
Use
`
w
aitpi
d
'
t
o c
h
eck
if a process is sti
l
l
alive
.
.
.
commit
|
commitdiff
|
tree
2009-09-17
G
iuseppe Scriv
a
n
o
All
o
w acces
s
to
the
m
i
n
ibuffer only to a thread
a
t
.
.
.
commit
|
commitdiff
|
tree
2009-09-17
Gi
u
seppe Scrivan
o
Hon
o
r
the fun
c
t
i
on r
e
t
urn t
y
pe
.
commit
|
commitdiff
|
tree
2009-09-17
Giuseppe Scrivano
Avoid the access to NUL
L
memory wh
i
le
gc mark
s
.
commit
|
commitdiff
|
tree
2009-09-17
Gius
e
ppe Scr
i
va
n
o
Remove
asse
r
tion that
d
oes not seem valid anymore
.
commit
|
commitdiff
|
tree
2009-09-17
Giuseppe Scrivano
N
o
w it is
possible to disable threadin
g
using "
i
nhibit
.
.
.
commit
|
commitdiff
|
tree
2009-09-17
Giuse
p
pe Scrivano
Refl
e
ct last chan
g
e
s
i
n the GDB script
.
commit
|
commitdiff
|
tree
2009-09-17
Gius
e
ppe Scr
i
v
a
no
Signals can be c
a
ptured b
y
any thread
.
commit
|
commitdiff
|
tree
2009-09-16
G
i
use
p
pe S
c
rivano
Init
i
a
l
ize a new buffer's owner to nil
.
commit
|
commitdiff
|
tree
2009-09-16
Giuseppe Sc
r
ivano
Supp
o
r
t more c
o
mplex code blocks as argum
e
nt to `
r
un
.
.
.
commit
|
commitdiff
|
tree
2009-09-16
Giuseppe Scri
v
a
n
o
Fr
e
e the thre
a
d s
p
ecdl
.
Bug
i
n
troduced with
c466c557f39fc71c
.
.
.
commit
|
commitdiff
|
tree
2009-09-16
Giuseppe S
c
rivano
Revert to the previo
u
s code
.
commit
|
commitdiff
|
tree
2009-09-16
G
i
useppe Scrivano
Check for `other_threads_
p
()' in the inner
l
oop too
.
.
.
commit
|
commitdiff
|
tree
2009-09-16
Gi
u
s
eppe Scrivano
Solve som
e
proble
m
s with memory
c
leanup
.
commit
|
commitdiff
|
tree
2009-09-15
Giu
s
eppe Sc
r
ivano
F
i
x a
segfault when m_current_buffer is NU
L
L
commit
|
commitdiff
|
tree
2009-09-15
Giuseppe Scrivano
Initialize stack_top when
a
n
ew t
h
read is created
.
commit
|
commitdiff
|
tree