/* 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 (); } n> FreeBSD GNOME current development ports (https://github.com/freebsd/freebsd-ports-gnome)
aboutsummaryrefslogtreecommitdiffstats
path: root/Mk
Commit message (Expand)AuthorAgeFilesLines
* Fix mysql embedded dependency for MySQL 5.5.ale2010-12-291-1/+1
* - Fix Conflict handling. At the moment the build conflicts are recorded inmiwi2010-12-291-3/+0
* Update KDE PIM to 4.4.9makc2010-12-251-1/+1
* Sync to final (for now) bsd.autotools.mkade2010-12-231-4/+4
* As the final (for now) cleanup of autotools, in order to reduce treeade2010-12-231-15/+28
* - Add support for firebird 2.1 and 2.5acm2010-12-211-1/+5
* Properly escape shell metacharacters in some JAVA_* macros.erwin2010-12-201-3/+3
* - Add new variables to define buildtime and runtime dependencies onbeat2010-12-182-1/+256
* Add a temporary backstop definition of SRC_BASE. A more general solutionlinimon2010-12-171-2/+3
* - Update e17 applications suite to the recent snapshot.stas2010-12-141-34/+75
* - Update to 3.1.3wen2010-12-141-2/+2
* - site no longer carries these bitspgollucci2010-12-121-2/+0
* - site is toastpgollucci2010-12-121-1/+0
* this site only carries the ubuntu bits nowpgollucci2010-12-121-3/+0
* - Added PHP license - versions 2.02, 3.0 and 3.01glarkin2010-12-111-1/+10
* - Upgrade -R flag to -F while fetching, to prevent "local modification time notpav2010-12-101-2/+2
* Clean up "current" versions of autotools components to further reduceade2010-12-091-4/+4
* Update KDE PIM ports to 4.4.8makc2010-12-051-1/+1
* Sync to new bsd.autotools.mkade2010-12-043-3/+8
* Rework bsd.autotools.mk now that we have a single legacy autoconf/automakeade2010-12-041-184/+256
* - Update KDE mirror address of Computer Science Dept., NCTUlwhsu2010-12-031-1/+2
* KDE FreeBSD team presents KDE SC 4.5.4.makc2010-12-031-1/+1
* KDE FreeBSD team is glad to present Qt 4.7.1 in ports.makc2010-12-031-19/+62
* - Remove two checks obviated by the removal of _OPTIONSFILE in revision 1.596...miwi2010-12-011-36/+108
* - Add a hack to display pkg-message on package install on packages created withpav2010-12-011-0/+1
* - Change gecko master port from www/mozilla to www/seamonkey.beat2010-11-301-6/+6
* - Update to 2.7.1wen2010-11-291-2/+2
* - DESKTOP_ENTRIES: commandline is used to name installed .desktop file, thispav2010-11-281-1/+1
* Add an entry for pecl-intl.ale2010-11-261-1/+2
* - Fix NO_INSTALL ports to register an entry in /var/db/pkg (ie. print/cups)pav2010-11-251-17/+4
* - Remove obsolete gecko providers. There are only two valid gecko backendsbeat2010-11-241-17/+13
* - Respect STRIP to allow for debugging builds [1]beat2010-11-231-4/+7
* - Update ruby 1.8 to p302.stas2010-11-221-2/+2
* Also add USE_GNOME=dconf hook.kwm2010-11-211-0/+7
* Presenting GNOME 2.32.1 for FreeBSD. The offical release notes for thiskwm2010-11-201-20/+45
* - no-op/style: make use of an assigned variablepav2010-11-181-2/+2
* - Update to 2.4.2acm2010-11-161-1/+1
* Add game music emu (gme) gstreamer plugin.kwm2010-11-161-1/+3
* Remove ftp.no.gnome.org from the GNOME pool. Seems to be dead.kwm2010-11-151-1/+0
* Add Internet Systems Consortium License (ISCL).bsam2010-11-111-1/+4
* - Update kdevplatform to 1.1.0.avilla2010-11-091-1/+1
* - Fix PLIST_DIRSTRY: swap the substitutions to the proper orderpav2010-11-091-5/+7
* Document how to use "sudo" instead of "su" in SU_CMD.fjoe2010-11-081-0/+2
* KDE FreeBSD team presents KDE SC 4.5.3.makc2010-11-041-1/+1
* - Remove three dead mirrors from Mozillabeat2010-11-021-4/+1
* Fix a mismerge in the previous revision and revert the reversionerwin2010-10-291-3/+4
* - Add the Open Works License (OWL, http://sob.apotheon.org) to the list ofpav2010-10-291-1/+4
* Deprecate md5 in favour of sha256 checksums. md5 checksums will no longererwin2010-10-293-27/+26
* Fix ftp.informatik.hu-berlin.de and remove a dead GNU mirror.wxs2010-10-261-2/+1
* - Pass CPP to CONFIGURE_ENV and MAKE_ENV [1]erwin2010-10-261-3/+4
* Remove two dead mirrors from ISC.wxs2010-10-251-2/+0
* Do some cleaning among the Horde mirrors.thierry2010-10-241-5/+5
* Remove dead site from MASTER_SITE_KERNEL_ORGwxs2010-10-231-1/+0
* Update KDE PIM ports to 4.4.7makc2010-10-221-1/+1
* Remove cpan.pop-mg.com.br from MASTER_SITE_PERL_CPAN host does not resolve.ehaupt2010-10-211-1/+0
* - ftp.ch.ru is still up, but it no longer mirrors these distrospgollucci2010-10-201-13/+3
* - biznetnetworks is down (several mod_* ports) several dayspgollucci2010-10-201-1/+1
* Remove dead qmail mirrorsgarga2010-10-201-6/+0
* Simplify the case of USE_FORTRAN=g77. Update a comment.gerald2010-10-171-8/+4
* Punt autoconf267->autoconf268ade2010-10-161-1/+1
* Remove dead mirrorsehaupt2010-10-141-20/+0
* - add INSTALL_LIB target [1]erwin2010-10-131-6/+15
* Update MASTER_SITE_TUCOWSehaupt2010-10-131-5/+6
* Remove dead mirrorsehaupt2010-10-131-8/+0
* Remove dead mirrorsehaupt2010-10-121-15/+0
* - Do not link ruby18 agains librt.stas2010-10-111-1/+1
* - Update ruby19 to 1.9.2.stas2010-10-111-4/+7
* KDE FreeBSD team presents KDE SC 4.5.2.makc2010-10-061-1/+1
* Prune sites for MASTER_SITE_APACHE giving a HTTP 404 or 500.rene2010-10-051-12/+1
* Build glib12 and ports that depend on it with -std=gnu89.kwm2010-10-031-0/+5
* - Introduce a new virtual category enlightenment, for the popular desktoppav2010-09-301-1/+1
* We shouldn't trust vendor that their license filename is unique and willerwin2010-09-281-4/+4
* In addition to CC and CXX now also set CPP with USE_GCC. Add the outputgerald2010-09-281-2/+3
* Remove bsd.cenkes.org from MASTER_SITE_CENKES due to:ehaupt2010-09-271-1/+0
* - Add CRAN_Include_MAINTAINER tag to Mk/bsd.cran.mktota2010-09-262-4/+15
* USE_FORTRAN=yes now implies lang/gcc45 up from lang/gcc44.gerald2010-09-251-4/+4
* Hook DB 5.1 to the bsd.database.mk logic.mandree2010-09-211-2/+9
* PostgreSQL 9.0 is here! The PostgreSQL Global Development Groupgirgen2010-09-202-1/+2
* - Provide the correct value for TOPDIR in ruby 1.9.stas2010-09-201-1/+1
* - Add NCTU CPAN mirrorlwhsu2010-09-201-1/+2
* - Desupport USE_CDRTOOLS=cjkpav2010-09-171-8/+1
* Autotools update. Read ports/UPDATING 20100915 for details.ade2010-09-163-5/+12
* - Add USE_BINUTILS knob that makes the build process use binutils from portpav2010-09-151-0/+17
* - Update details for "editors/emacs-devel" to Emacs 24.x.ashish2010-09-141-4/+4
* Update gstreamer-plugins-bad to 0.10.20.kwm2010-09-141-7/+19
* - Update to 2.6.6wen2010-09-121-2/+2
* Update kdepim to 4.4.6makc2010-09-111-1/+1
* Replace pecl-fileinfo with php5-fileinfo for php 5.3.x.ale2010-09-071-1/+6
* Add gstreamer-plugins-gl 0.10.2.kwm2010-09-071-1/+3
* Update gstreamer-plugins-ugly to 0.10.16.kwm2010-09-071-2/+8
* Remove the transparent rewriting of USE_GCC=4.3+ to USE_GCC=4.4+.gerald2010-09-051-6/+0
* KDE FreeBSD team presents KDE SC 4.5.1.makc2010-09-031-1/+1
* - Support NOPORTDOCS (--no-rdoc) for RUBYGEM_AUTOPLIST=yes portspgollucci2010-09-021-1/+10
* Introduce KDEPIM4_VERSION and set it to 4.4.5makc2010-09-021-0/+2
* - Fix www/rubygem-passenger under lang/ruby19 [1]pgollucci2010-08-311-5/+6
* - Prepare bsd.gecko.mk to unbreak gecko ports with recent versions of GCCbeat2010-08-291-3/+13
* Move *.funet.fi to the bottom of the mirror sites lists due tobrix2010-08-291-23/+23
* Update KOffice to 2.2.2makc2010-08-281-1/+1
* Add lua-alien 0.5.0, lua -> C FFI.philip2010-08-261-2/+4
* - Remove dead NetBSD mirrors.amdmi32010-08-241-6/+1
* - Fix plist leftovers when using LICENSE framework and having @cwd command inpav2010-08-203-149/+43
* - New openal-soft port for the linux f10 base system.mva2010-08-201-2/+8
* - Fix PYTHON_MASTER_SITE_SUBDIR expression for RC releaselwhsu2010-08-191-1/+1
* - Update ruby 1.9.1 to p430. This release fixes CVE-2010-0541.stas2010-08-181-3/+3
* - Update to 2.4.0acm2010-08-171-14/+46
* - Update graphics/wxsvg to 1.0.5 and wx 2.8 which thus needs an Mk/bsd.wx.mknox2010-08-161-3/+3
* - Introduce Python 2.7.0lwhsu2010-08-161-1/+10
* - Add a new knob R_MOD_AUTOPLIST, which allows the packing listtota2010-08-151-0/+10
* - Update graphics/sdl_ttf to version 2.0.10mva2010-08-111-1/+1
* Revert previous, bogus commit. Sorry!gerald2010-08-071-3/+3
* Disconnect lang/gcc43, that is, USE_GCC=4.3 is not supported any longer.gerald2010-08-072-8/+5
* Add the following licenses:brix2010-08-031-1/+10
* - Prepare for upcoming Firefox 4beat2010-07-291-0/+2
* Update to 5.3.3 release:ale2010-07-271-2/+2
* - Removed obsolete targetglarkin2010-07-241-15/+0
* Introduce Perl 5.12.1skv2010-07-152-3/+7
* Present KDE SC 4.4.5 for FreeBSD.makc2010-06-301-1/+1
* Add the Eclipse Public Licenserene2010-06-231-2/+4
* - Update KOffice (and its l10n packs) to 2.2.0 releasefluffy2010-06-191-1/+1
* Switch default MySQL version from 5.0-EOL to 5.1-GA.ale2010-06-181-3/+3
* Add LGPL20 or GNU Library General Public License version 2.0.kwm2010-06-171-1/+4
* Extend and clarify the documentation for USE_GCC, making it explicitgerald2010-06-121-5/+5
* - mark sparc as brokendinoex2010-06-111-0/+3
* - Add GNU Free Documentation License to bsd.licenses.db.mk.avilla2010-06-111-3/+6
* Update Qt to 4.6.3makc2010-06-101-1/+1
* - Provide a knob to not check the APACHE_PORT value or the installed version ...pgollucci2010-06-071-0/+2
* Tweak a conditional added in the previous commit that apparently causesgerald2010-06-071-2/+2
* USE_GCC=4.3 is deprecated (and no port uses it anymore). USE_GCC=4.3+gerald2010-06-071-1/+9
* Instead of only 1 LGPL license there are two namely: the 2.1 and 3 version.kwm2010-06-051-3/+6
* - Introduce a new USE_XZ knob that handles lzma/xz compressed distfilespav2010-06-042-1/+17
* - Fix typo in openal sectionpav2010-06-031-1/+1
* A large number of the octave forge ports need version updates. But the newmiwi2010-06-031-2/+2