stuff
This commit is contained in:
parent
f1f0f9acbb
commit
4c1dd0f711
@ -36,8 +36,7 @@ autoheader
|
|||||||
$LIBTOOLIZE --copy --force --automake
|
$LIBTOOLIZE --copy --force --automake
|
||||||
automake --add-missing --copy
|
automake --add-missing --copy
|
||||||
|
|
||||||
swig -version
|
swig -version > /dev/null
|
||||||
if test $?; then
|
if [ $? -ne 0 ]; then
|
||||||
echo you need swig to build from SVN
|
echo you need swig to build from SVN
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
@ -24,6 +24,7 @@
|
|||||||
<xi:include href="xml/meta.xml"/>
|
<xi:include href="xml/meta.xml"/>
|
||||||
<xi:include href="xml/region.xml"/>
|
<xi:include href="xml/region.xml"/>
|
||||||
<xi:include href="xml/generate.xml"/>
|
<xi:include href="xml/generate.xml"/>
|
||||||
|
<xi:include href="xml/threadgroup.xml"/>
|
||||||
<xi:include href="xml/error.xml"/>
|
<xi:include href="xml/error.xml"/>
|
||||||
<xi:include href="xml/memory.xml"/>
|
<xi:include href="xml/memory.xml"/>
|
||||||
<xi:include href="xml/buf.xml"/>
|
<xi:include href="xml/buf.xml"/>
|
||||||
@ -34,6 +35,7 @@
|
|||||||
<xi:include href="xml/arithmetic.xml"/>
|
<xi:include href="xml/arithmetic.xml"/>
|
||||||
<xi:include href="xml/boolean.xml"/>
|
<xi:include href="xml/boolean.xml"/>
|
||||||
<xi:include href="xml/relational.xml"/>
|
<xi:include href="xml/relational.xml"/>
|
||||||
|
<xi:include href="xml/colour.xml"/>
|
||||||
</chapter>
|
</chapter>
|
||||||
|
|
||||||
<chapter>
|
<chapter>
|
||||||
@ -42,10 +44,8 @@
|
|||||||
<xi:include href="xml/interpolate.xml"/>
|
<xi:include href="xml/interpolate.xml"/>
|
||||||
<xi:include href="xml/object.xml"/>
|
<xi:include href="xml/object.xml"/>
|
||||||
<xi:include href="xml/proto.xml"/>
|
<xi:include href="xml/proto.xml"/>
|
||||||
<xi:include href="xml/colour.xml"/>
|
|
||||||
<xi:include href="xml/transform.xml"/>
|
<xi:include href="xml/transform.xml"/>
|
||||||
<xi:include href="xml/util.xml"/>
|
<xi:include href="xml/util.xml"/>
|
||||||
<xi:include href="xml/threadgroup.xml"/>
|
|
||||||
<xi:include href="xml/version.xml"/>
|
<xi:include href="xml/version.xml"/>
|
||||||
<xi:include href="xml/type.xml"/>
|
<xi:include href="xml/type.xml"/>
|
||||||
<xi:include href="xml/rect.xml"/>
|
<xi:include href="xml/rect.xml"/>
|
||||||
|
@ -35,6 +35,14 @@
|
|||||||
extern "C" {
|
extern "C" {
|
||||||
#endif /*__cplusplus*/
|
#endif /*__cplusplus*/
|
||||||
|
|
||||||
|
/* Stack size for each thread. We need to set this explicitly because some
|
||||||
|
* systems have a very low default.
|
||||||
|
|
||||||
|
FIXME ... should have an environment variable for this?
|
||||||
|
|
||||||
|
*/
|
||||||
|
#define IM__DEFAULT_STACK_SIZE (2 * 1024 * 1024)
|
||||||
|
|
||||||
#ifndef HAVE_THREADS
|
#ifndef HAVE_THREADS
|
||||||
#undef g_thread_supported
|
#undef g_thread_supported
|
||||||
#define g_thread_supported() (0)
|
#define g_thread_supported() (0)
|
||||||
|
@ -39,17 +39,11 @@ extern "C" {
|
|||||||
|
|
||||||
#include <vips/semaphore.h>
|
#include <vips/semaphore.h>
|
||||||
|
|
||||||
/* Stack size for each thread. We need to set this explicitly because some
|
|
||||||
* systems have a very low default.
|
|
||||||
|
|
||||||
FIXME ... should have an environment variable for this?
|
|
||||||
|
|
||||||
*/
|
|
||||||
#define IM__DEFAULT_STACK_SIZE (2 * 1024 * 1024)
|
|
||||||
|
|
||||||
/* What we track for each thread.
|
/* What we track for each thread.
|
||||||
*/
|
*/
|
||||||
typedef struct {
|
typedef struct {
|
||||||
|
/* All private.
|
||||||
|
*/
|
||||||
/*< private >*/
|
/*< private >*/
|
||||||
REGION *reg; /* Region this thread operates on */
|
REGION *reg; /* Region this thread operates on */
|
||||||
struct im__threadgroup_t *tg; /* Thread group we are part of */
|
struct im__threadgroup_t *tg; /* Thread group we are part of */
|
||||||
@ -79,6 +73,8 @@ typedef int (*im__work_fn)( im_thread_t *thr,
|
|||||||
/* What we track for a group of threads working together.
|
/* What we track for a group of threads working together.
|
||||||
*/
|
*/
|
||||||
typedef struct im__threadgroup_t {
|
typedef struct im__threadgroup_t {
|
||||||
|
/* All private.
|
||||||
|
*/
|
||||||
/*< private >*/
|
/*< private >*/
|
||||||
int zombie; /* Set if has been freed */
|
int zombie; /* Set if has been freed */
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user