/* test posix thread folder proxy */ #include "camel.h" CamelThreadProxy *proxy; CamelFuncDef *func_def; void test_sync_func (int num) { printf ("Sync function number %d\n", num); printf ("Sync function : current thread : %d\n", pthread_self ()); } void test_async_cb (int num) { printf ("Callback number %d\n", num); printf ("Callback : current thread : %d\n", pthread_self ()); } void test_async_func (int num) { CamelOp *cb; printf ("Async function number %d\n", num); printf ("Async function : current thread : %d\n", pthread_self ()); sleep (1); cb = camel_marshal_create_op (func_def, test_async_cb, num); camel_thread_proxy_push_cb (proxy, cb); } int main (int argc, char **argv) { int i; CamelOp *op; camel_init (); func_def = camel_func_def_new (camel_marshal_NONE__INT, 1, GTK_TYPE_INT); printf ("--== Testing Simple marshalling system ==--\n"); for (i=0; i<5; i++) { printf ("Iterration number %d\n", i); op = camel_marshal_create_op (func_def, test_sync_func, i); camel_op_run (op); camel_op_free (op); } printf ("\n\n"); proxy = camel_thread_proxy_new (); printf ("--== Testing Asynchronous Operation System ==--\n"); for (i=0; i<5; i++) { printf ("Pushing async operation number %d for execution\n", i); op = camel_marshal_create_op (func_def, test_async_func, i); camel_thread_proxy_push_op (proxy, op); } printf ("\n\n"); printf ("--== Operations execution planned ==--\n"); gtk_main (); } 2.3'>dependabot/npm_and_yarn/devel/electron4/files/bl-1.2.3 FreeBSD GNOME current development ports (https://github.com/freebsd/freebsd-ports-gnome)
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorcs <cs@FreeBSD.org>2012-07-28 23:57:55 +0800
committercs <cs@FreeBSD.org>2012-07-28 23:57:55 +0800
commit6d1c1e231f9b2ca698266a7023ee9e44423e55a4 (patch)
tree0e6c0728504c7740f94b6bf02b1253d62f1880d6
parent9b2694d561c71bd2610d53853b2d473f35d05718 (diff)
downloadfreebsd-ports-gnome-6d1c1e231f9b2ca698266a7023ee9e44423e55a4.tar.gz
freebsd-ports-gnome-6d1c1e231f9b2ca698266a7023ee9e44423e55a4.tar.zst
freebsd-ports-gnome-6d1c1e231f9b2ca698266a7023ee9e44423e55a4.zip
Fix typos in COMMENT
Approved by: portmgr@ (implicit)
Diffstat
-rw-r--r--editors/aewan/Makefile2
-rw-r--r--games/BillardGL/Makefile2
-rw-r--r--games/apoolGL/Makefile2
-rw-r--r--games/ctris/Makefile2
-rw-r--r--games/deng/Makefile2
-rw-r--r--games/el-data/Makefile2
-rw-r--r--games/flightgear-data/Makefile2
-rw-r--r--games/foobillard/Makefile2
-rw-r--r--games/memonix/Makefile2
-rw-r--r--games/plonx/Makefile2
-rw-r--r--games/tremulous/Makefile2
-rw-r--r--games/typespeed/Makefile2
-rw-r--r--games/vavoom-extras/Makefile2
-rw-r--r--games/vavoom/Makefile2
-rw-r--r--graphics/aalib/Makefile2
-rw-r--r--graphics/comix/Makefile2
-rw-r--r--graphics/deegree-igeoportal/Makefile2
-rw-r--r--graphics/ditaa/Makefile2
-rw-r--r--graphics/g2/Makefile2
-rw-r--r--graphics/gdchart/Makefile2
-rw-r--r--graphics/gstreamer-plugins-aalib/Makefile2
-rw-r--r--graphics/gstreamer-plugins-libcaca/Makefile2
-rw-r--r--graphics/ilmbase/Makefile2
-rw-r--r--graphics/jhead/Makefile2
-rw-r--r--graphics/kdegraphics4-mobipocket/Makefile2
-rw-r--r--graphics/kudu/Makefile2
-rw-r--r--graphics/linux-dri74/Makefile2
-rw-r--r--graphics/linux-panorama-tools/Makefile2
-rw-r--r--graphics/opendis/Makefile2
-rw-r--r--graphics/p5-Image-Base/Makefile2
-rw-r--r--graphics/p5-Imager/Makefile2
-rw-r--r--graphics/qt4-imageformats/Makefile2
-rw-r--r--graphics/show/Makefile2
-rw-r--r--graphics/xpdf/Makefile2
-rw-r--r--irc/bopm/Makefile2
-rw-r--r--irc/dancer/Makefile2
-rw-r--r--irc/qwebirc/Makefile2
-rw-r--r--irc/xchat1/Makefile2
-rw-r--r--japanese/eb/Makefile2
-rw-r--r--japanese/mozc-server/Makefile2
-rw-r--r--japanese/mozc-tool/Makefile2
-rw-r--r--japanese/xchat/Makefile2
-rw-r--r--japanese/xemacs21-canna/Makefile2
-rw-r--r--japanese/zinnia/Makefile2
-rw-r--r--korean/h2ps/Makefile2
-rw-r--r--lang/opa/Makefile2
-rw-r--r--mail/elmo-devel/Makefile2
-rw-r--r--mail/elmo/Makefile2
-rw-r--r--mail/evolution/Makefile2
-rw-r--r--mail/faces/Makefile2
-rw-r--r--mail/heirloom-mailx/Makefile2
-rw-r--r--mail/libsieve/Makefile2
-rw-r--r--mail/notmuch/Makefile2
-rw-r--r--mail/p5-MIME-Fast/Makefile2
-rw-r--r--mail/p5-Mail-Spool/Makefile2
-rw-r--r--mail/p5-Net-Server-Mail/Makefile2
-rw-r--r--mail/pfqueue/Makefile2
-rw-r--r--mail/py-twistedMail/Makefile2
-rw-r--r--mail/qmail-ldap/Makefile2
-rw-r--r--mail/qmail-mysql/Makefile2
-rw-r--r--mail/qmail-tls/Makefile2
-rw-r--r--mail/rmilter/Makefile2
-rw-r--r--mail/squirrelmail-check_quota-plugin/Makefile2
-rw-r--r--mail/squirrelmail-postfixadmin-plugin/Makefile2
-rw-r--r--mail/sylpheed/Makefile2
-rw-r--r--mail/zmailer/Makefile2
-rw-r--r--math/R-cran-spdep/Makefile2
-rw-r--r--math/gretl/Makefile2
-rw-r--r--math/vtk-examples/Makefile2
-rw-r--r--print/a2ps-letter/Makefile2
-rw-r--r--print/dvips2ascii/Makefile2
-rw-r--r--textproc/rubygem-terminal-table/Makefile2
-rw-r--r--textproc/tdhkit/Makefile2
-rw-r--r--www/mod_encoding/Makefile2
-rw-r--r--x11/xascii/Makefile2
75 files changed, 75 insertions, 75 deletions