repo.or.cz
/
eleutheria.git
/
search
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
first
·
prev
·
next
We now have 2 generators and 1 consumer thread
2007-12-30
S
tathis Kamperis
We
now ha
v
e 2 generators and 1 c
o
ns
u
mer
t
hre
a
d
commit
|
commitdiff
|
tree
2007-12-30
Stathis Kamperis
Prepend
'E' in names i
n
error constants
commit
|
commitdiff
|
tree
2007-12-29
Sta
t
his K
a
m
peris
Add some comments
i
n fsm_t structure
declara
t
i
on
commit
|
commitdiff
|
tree
2007-12-29
Stathi
s
Kamperis
G
roup machine dependent
c
ode
together in fsm_init()
commit
|
commitdiff
|
tree
2007-12-29
S
t
athis Kamperis
Return
F
SM_NOMEM in
f
sm_init() if malloc(
)
fails
commit
|
commitdiff
|
tree
2007-12-29
Sta
t
his
Kamperis
M
i
n
o
r cleanup to
M
a
k
e
f
ile
commit
|
commitdiff
|
tree
2007-12-28
Stathis
K
a
mp
e
ris
Ma
k
e
test_thread
fully fu
n
ct
i
onal
commit
|
commitdiff
|
tree
2007-12-28
Stat
h
is
K
a
mperis
F
ix min
o
r issues in Makefi
l
e
commit
|
commitdiff
|
tree
2007-12-13
Stathis Kamperis
Towards a th
r
ead-saf
e
i
mplementati
o
n (primitive)
commit
|
commitdiff
|
tree
2007-12-09
Stathis Kampe
r
is
Remove whitespace from w
i
p test
case
commit
|
commitdiff
|
tree
2007-12-09
Stathis Kamperis
F
ix
p
ossible mem
o
ry l
e
ak
commit
|
commitdiff
|
tree
2007-11-20
Stathis Kamp
e
ris
Merge b
r
a
nch 'exp-ha
s
h' into
e
xp
-
fsm
commit
|
commitdiff
|
tree
2007-11-20
Stathis
K
ampe
r
i
s
Rena
m
e mai
n
.
c to test
1
.
c
commit
|
commitdiff
|
tree
2007-11-20
S
t
a
this K
a
m
p
eris
Mov
e
main() to top of file and add function
p
r
ototypes
commit
|
commitdiff
|
tree
2007-11-19
Stathi
s
Kam
p
eris
Merg
e
bra
n
ch 'exp-hash'
into ex
p
-f
s
m
commit
|
commitdiff
|
tree
2007-11-19
Stath
i
s
K
a
mperis
Add some
c
omments
commit
|
commitdiff
|
tree
2007-11-19
Sta
t
his Kamperis
M
erge
b
ranch 'exp-hash
'
in
t
o
exp
-
f
s
m
commit
|
commitdiff
|
tree
2007-11-19
Stathis
K
am
p
eris
Check
a
gainst i
n
va
l
id in
p
ut
i
n
htable_stat_get_chain_len(
)
commit
|
commitdiff
|
tree
2007-11-19
Stathis Kamperis
Merg
e
b
ranch 'exp
-
hash
'
into ex
p
-
fsm
commit
|
commitdiff
|
tree
2007-11-19
St
a
th
i
s Kamper
i
s
B
u
ild up a more r
o
bust te
s
t case
commit
|
commitdiff
|
tree
2007-11-19
S
tathis Kampe
r
is
Add htable_
s
tat_get_chain_l
e
n()
commit
|
commitdiff
|
tree
2007-11-17
Sta
t
h
i
s Kamperis
M
e
rge bra
n
ch 'e
x
p-has
h
' into exp-fsm
commit
|
commitdiff
|
tree
2007-11-17
Stathis Kamperis
D
o
n
'
t fo
r
get
to ini
t
ialize htable->ht_grows
commit
|
commitdiff
|
tree
2007-11-17
Stathis Kamper
i
s
Me
r
ge
b
r
a
n
ch 'exp-hash' into exp-fsm
commit
|
commitdiff
|
tree
2007-11-17
St
a
t
h
is
K
a
m
peris
Add s
t
at
s
to track a
u
t
omatic
r
esizes (gro
w
s)
commit
|
commitdiff
|
tree
2007-11-17
Stathis Kamperis
Cos
m
e
t
ic ch
a
nge in comment
commit
|
commitdiff
|
tree
2007-11-17
St
a
thi
s
Kamperis
Adapt
test_
r
mcom
t
o
f
sm_free() changes
commit
|
commitdiff
|
tree
2007-11-03
Stathis Kamper
i
s
Fix possible m
e
mory leak whe
n
malloc returns
NULL
commit
|
commitdiff
|
tree
2007-11-02
Stat
h
is Kamperis
Update
T
OD
O
fil
e
commit
|
commitdiff
|
tree
2007-11-02
Stathis Kamperis
Always use a
D
EEP_FR
E
E in
f
sm_free()
commit
|
commitdiff
|
tree
2007-11-02
Stathi
s
Kamperis
Repl
a
ce state_free+SHALLOW_FREE with
D
EEP_FREE
commit
|
commitdiff
|
tree
2007-11-02
S
t
a
t
his Kampe
r
i
s
Merge br
a
nc
h
'exp-
h
ash' into exp-fsm
commit
|
commitdiff
|
tree
2007-11-02
Stathi
s
Kamp
e
r
i
s
Return NU
L
L whe
n
n
o
first usable item can be foun
d
commit
|
commitdiff
|
tree
2007-11-02
Stath
i
s Kamperis
F
i
x possible memor
y
l
e
a
k
commit
|
commitdiff
|
tree
2007-11-02
S
t
athis Ka
m
peris
Fix possible mem
o
r
y
l
e
ak
commit
|
commitdiff
|
tree
2007-11-02
Stathis Kamperis
Ad
d
stress test
c
ase
commit
|
commitdiff
|
tree
2007-11-01
Stat
h
is Kamperis
Do d
e
ep free whenever
p
o
s
s
ible
-
- might chan
g
e in the
.
.
.
commit
|
commitdiff
|
tree
2007-11-01
Stat
h
i
s Kamperi
s
H
andle
errors of API c
a
l
l
s in test_rmc
o
m
.
c
commit
|
commitdiff
|
tree
2007-10-31
Stathis Kam
p
eris
F
i
x
ide
n
tation
commit
|
commitdiff
|
tree
2007-10-31
Stat
h
is
K
amperis
E
x
tend fsm_f
r
ee(
)
API to support dee
p
free
commit
|
commitdiff
|
tree
2007-10-31
Sta
t
his
K
amperis
Use %u i
n
stead
of %d for printing uns
i
gne
d
int
e
ger
.
.
.
commit
|
commitdiff
|
tree
2007-10-31
Stathis Kamperis
Fix
r
e
gression
from previous com
m
i
t in fsm_fr
e
e
(
)
commit
|
commitdiff
|
tree
2007-10-31
Stathis Kamperis
Cos
m
et
i
c
ch
a
nges
i
n commen
t
s
commit
|
commitdiff
|
tree
2007-10-30
Stathis Kamper
i
s
Add
c
omment reg
a
rding not
h
andling return values of
.
.
.
commit
|
commitdiff
|
tree
2007-10-30
S
t
a
t
his Kam
p
eris
Fi
x
typo
i
n
co
m
ment
commit
|
commitdiff
|
tree
2007-10-30
Stathis Kamperis
Add comment regarding get_evt_key()
commit
|
commitdiff
|
tree
2007-10-30
S
tathis
Kamperis
Che
c
k w
h
ether f
g
ets() failed or not
commit
|
commitdiff
|
tree
2007-10-30
Stathis Kamperis
Minor clean
u
p
commit
|
commitdiff
|
tree
2007-10-30
Stathis Kamperis
Parse who
l
e files
,
no
t
just strin
g
s
commit
|
commitdiff
|
tree
2007-10-30
S
tathis Kamperis
G
e
neral
cleanu
p
commit
|
commitdiff
|
tree
2007-10-29
S
tathis Kamperis
Cleanup test case with threads
commit
|
commitdiff
|
tree
2007-10-29
Stathi
s
Kamp
e
ris
C
s
ou
r
c
e file isn't executable
commit
|
commitdiff
|
tree
2007-10-29
Stathis Kampe
r
is
Add test cases stubs
commit
|
commitdiff
|
tree
2007-10-29
Sta
t
hi
s
Kamperi
s
f
i
x fsm_init() call
commit
|
commitdiff
|
tree
2007-10-24
Stathis Kam
p
eris
Me
r
ge branch 'exp-hash
'
i
nto exp-fsm
commit
|
commitdiff
|
tree
2007-10-24
S
tathis K
a
mperis
Fix typo in argument l
i
st
commit
|
commitdiff
|
tree
2007-10-23
Stathis Kamperis
Merge
b
r
a
nc
h
'exp-hash' into exp-fsm
commit
|
commitdiff
|
tree
2007-10-23
Stath
i
s Kamperis
Multiply and don'
t
divide by 2
wh
e
n gro
w
i
n
g
.
.
.
commit
|
commitdiff
|
tree
2007-10-23
Stat
h
is
K
ampe
r
is
Merge
branch 'exp-hash' into
e
x
p-fsm
commit
|
commitdiff
|
tree
2007-10-23
S
t
athis Ka
m
per
i
s
Mor
e
cleanup, mostly comm
e
n
ts
commit
|
commitdiff
|
tree
2007-10-23
St
a
this Kamperis
Add so
m
e
c
omments
commit
|
commitdiff
|
tree
2007-10-23
Stathi
s
Kamperis
General cleanup
commit
|
commitdiff
|
tree
2007-09-27
S
t
a
this Kamper
i
s
Fix typo in constant FS
M
_NOTFOUND
commit
|
commitdiff
|
tree
2007-09-27
Stathis Kampe
r
is
Add suppor
t
f
o
r
priority
q
u
e
ues
commit
|
commitdiff
|
tree
2007-09-21
Stathi
s
Kamperis
Implement f
s
m_export
_
t
o
_
dot() fu
n
ction
commit
|
commitdiff
|
tree
2007-09-20
St
a
this Kam
p
e
r
i
s
Merge bran
c
h
'
ex
p
-has
h
' into exp-fsm
commit
|
commitdiff
|
tree
2007-09-20
Stathis Kamp
e
r
i
s
Don't
check < 0 for unsigned expre
s
s
io
n
commit
|
commitdiff
|
tree
2007-09-20
Stathis
K
am
p
er
i
s
Mer
g
e
b
r
anch
'
exp-hash' into exp-fsm
commit
|
commitdiff
|
tree
2007-09-20
Stat
h
is Kamperis
M
erge h
t
able_get_fir
s
t
_
elm() in htab
l
e_get_next_elm()
commit
|
commitdiff
|
tree
2007-09-20
Stathis Kamperis
M
e
rge bra
n
ch 'exp-h
a
sh' int
o
exp-fsm
commit
|
commitdiff
|
tree
2007-09-20
S
tathis Kam
p
er
i
s
Ad
d
htable_get_first/next_el
e
ment() functions for hta
b
le
.
.
.
commit
|
commitdiff
|
tree
2007-09-19
S
tathis Kamperis
Remove bogus cast for state->s
t
_k
e
y
commit
|
commitdiff
|
tree
2007-09-19
Stathis Kam
p
eris
R
earr
a
n
ge f
u
nction prototyp
e
s' orde
r
commit
|
commitdiff
|
tree
2007-09-19
Stathis Kamperis
F
ix typo in comment
commit
|
commitdiff
|
tree
2007-09-19
Stathis
K
am
p
e
r
i
s
fsm
_
validate(
)
che
c
ks
i
f
FSM is empty
commit
|
commitdiff
|
tree
2007-09-19
Stath
i
s Kamperis
Check if the transitio
n
i
s made to an existent state
commit
|
commitdiff
|
tree
2007-09-19
Stathis Kamperis
M
e
r
ge branch
'
exp-hash' into
e
xp-f
s
m
commit
|
commitdiff
|
tree
2007-09-19
S
t
a
t
his Ka
m
per
i
s
Add test c
a
se for h
t
a
b
l
e_traverse
commit
|
commitdiff
|
tree
2007-09-19
S
tathis Ka
m
peris
A
d
d
h
table_get_size(), htable_get_used
(
), ht
a
ble_traverse(
)
commit
|
commitdiff
|
tree
2007-09-19
S
tathis Kam
p
eris
M
erg
e
branch 'exp-hash' into exp
-
fs
m
commit
|
commitdiff
|
tree
2007-09-19
Stathis Kam
p
eris
Add stub
f
or
h
table_get_next_elm()
commit
|
commitdiff
|
tree
2007-09-19
S
t
athis Ka
m
p
e
r
i
s
Merge
b
r
a
nc
h
'exp-ha
s
h' into ex
p
-fsm
commit
|
commitdiff
|
tree
2007-09-19
S
t
a
t
his Kamperis
Fix typo
i
n comm
e
n
t
commit
|
commitdiff
|
tree
2007-09-18
Stathis
K
amper
i
s
U
s
e s
i
z
eof object in
s
tead of sizeof(type)
commit
|
commitdiff
|
tree
2007-09-18
Stathi
s
K
a
mperis
Add enumeration con
s
tants
f
o
r
fsm_valid
a
t
e()
commit
|
commitdiff
|
tree
2007-09-18
Stathis Kamperis
Add stubs
f
or fs
m
_validate()
commit
|
commitdiff
|
tree
2007-09-18
Stathis Ka
m
pe
r
is
Ad
d
TODO file
commit
|
commitdiff
|
tree
2007-09-18
S
tathis Kamperis
A
d
d state_get_key() f
u
nction
commit
|
commitdiff
|
tree
2007-09-18
Stat
h
i
s
K
amperis
Simplify p
o
inter expressio
n
commit
|
commitdiff
|
tree
2007-09-17
Stathis Kamp
e
ris
A
d
apt
Makefile to new name
r
m
com
commit
|
commitdiff
|
tree
2007-09-17
Stathis Kamperis
R
e
name ma
i
n
.
c to
r
mcom
.
c file
commit
|
commitdiff
|
tree
2007-09-17
Stat
h
is
K
amperis
Remove
b
o
gus functions
commit
|
commitdiff
|
tree
2007-09-17
Stathi
s
Ka
m
pe
r
is
Add -g flag to gcc o
p
tions
commit
|
commitdiff
|
tree
2007-09-17
Stath
i
s
Kamperis
FSM
e
xample to remove co
m
men
t
s from a C
exp
r
ession
.
.
.
commit
|
commitdiff
|
tree
2007-09-17
Stathis
Ka
m
p
e
ris
Add fs
m
_
get_state() fun
c
tion
commit
|
commitdiff
|
tree
2007-09-15
Stathis Kamperis
fsm
_
p
roc
e
ss_event() s
h
oul
d
pass
d
a
ta t
o
even
t
handler
commit
|
commitdiff
|
tree
2007-09-15
Stathis Kampe
r
is
Don't execute
event ha
n
dl
e
r if it's N
U
LL
commit
|
commitdiff
|
tree
2007-09-15
Stath
i
s
Kamperis
Add
void *d
a
ta arg in fsm_process_e
v
ent()
commit
|
commitdiff
|
tree
2007-09-14
Stathis Kamper
i
s
Stress test
in main
.
c
commit
|
commitdiff
|
tree
2007-09-14
Stat
h
is
K
amperis
Fix a typo in poi
n
ter
commit
|
commitdiff
|
tree
next