beremiz
Clone
Summary
Browse
Changes
Graph
Try using a semaphore instead of pthread_cond.
svghmi
2019-12-09, Edouard Tisserant
8cc70f7f525a
file is
Executable
Try using a semaphore instead of pthread_cond.
Finally crash when (non-python, cobalt-pthread_created) thread calls callback.
#!/bin/bash
INKSCAPE=inkscape
for i in `cat icons.svg |grep -o -e '%%[^%]*%%'|sed 's/%//g'`
do
if [ $i.png -nt icons.svg ]; then
echo "Skip $i"
else
rm -f $i.png
echo "$INKSCAPE" icons.svg -z -e $i.png -i $i
"$INKSCAPE" icons.svg -z -e $i.png -i $i
fi
done