re: libzdb-general Digest, Vol 43, Issue 8
Thank you very much !I Have solute my question as you told! -----邮件原件----- 发件人: libzdb-general-bounces@tildeslash.com [mailto:libzdb-general-bounces@tildeslash.com] 代表 libzdb-general-request@tildeslash.com 发送时间: 2013年6月26日 18:00 收件人: libzdb-general@tildeslash.com 主题: libzdb-general Digest, Vol 43, Issue 8 Send libzdb-general mailing list submissions to libzdb-general@tildeslash.com To subscribe or unsubscribe via the World Wide Web, visit http://www.tildeslash.com/mailman/listinfo/libzdb-general or, via email, send a message with subject or body 'help' to libzdb-general-request@tildeslash.com You can reach the person managing the list at libzdb-general-owner@tildeslash.com When replying, please edit your Subject line so it is more specific than "Re: Contents of libzdb-general digest..." Today's Topics: 1. ??: libzdb-general Digest, Vol 43, Issue 7 (???) 2. Re: ??: libzdb-general Digest, Vol 43, Issue 7 (Paul J Stevens) ---------------------------------------------------------------------- Message: 1 Date: Wed, 26 Jun 2013 14:51:15 +0800 From: ??? <hnxymjj@163.com> To: <libzdb-general@tildeslash.com> Subject: ??: libzdb-general Digest, Vol 43, Issue 7 Message-ID: <000001ce7239$8ef423b0$acdc6b10$@com> Content-Type: text/plain; charset="gb2312" Hello! Thank you very much for your help! The question I am contacting to him. However now I have another question: Now I am doing a project ,use qt and libzdb,but I donnot know how to use libzdb in the multi-thread environment . as I find the most time is the connectpool_start() ,and at the end of the thread I must call url_free() and connectpool_free .Is is right? I hope someone who can help me! Thx jiajiama -----????----- ???: libzdb-general-bounces@tildeslash.com [mailto:libzdb-general-bounces@tildeslash.com] ?? libzdb-general-request@tildeslash.com ????: 2013?6?25? 18:00 ???: libzdb-general@tildeslash.com ??: libzdb-general Digest, Vol 43, Issue 7 Send libzdb-general mailing list submissions to libzdb-general@tildeslash.com To subscribe or unsubscribe via the World Wide Web, visit http://www.tildeslash.com/mailman/listinfo/libzdb-general or, via email, send a message with subject or body 'help' to libzdb-general-request@tildeslash.com You can reach the person managing the list at libzdb-general-owner@tildeslash.com When replying, please edit your Subject line so it is more specific than "Re: Contents of libzdb-general digest..." Today's Topics: 1. Re: how to use libzdb in windows (Jan-Henrik Haukeland) ---------------------------------------------------------------------- Message: 1 Date: Mon, 24 Jun 2013 22:23:01 +0200 From: Jan-Henrik Haukeland <hauk@tildeslash.com> To: This is the libzdb general mailing list <libzdb-general@tildeslash.com> Subject: Re: how to use libzdb in windows Message-ID: <0D9D9A0D-FB18-4A60-961F-2426BCF275CC@tildeslash.com> Content-Type: text/plain; charset=GB2312 On Jun 24, 2013, at 6:44 AM, ??? <hnxymjj@163.com> wrote:
how can I compile the libzdb on windows and how can I use it! Can you give me an example?
Libzdb does not support Windows. However I see someone has done some "work" to port libzdb to Windows using MinGW, https://github.com/haiwen/libzdb. Maybe ask them? ------------------------------ _______________________________________________ libzdb-general mailing list libzdb-general@tildeslash.com http://www.tildeslash.com/mailman/listinfo/libzdb-general End of libzdb-general Digest, Vol 43, Issue 7 ********************************************* ------------------------------ Message: 2 Date: Wed, 26 Jun 2013 10:04:46 +0200 From: Paul J Stevens <paul@nfg.nl> To: This is the libzdb general mailing list <libzdb-general@tildeslash.com> Subject: Re: ??: libzdb-general Digest, Vol 43, Issue 7 Message-ID: <51CAA09E.2050009@nfg.nl> Content-Type: text/plain; charset=UTF-8 On 26-06-13 08:51, ??? wrote:
Now I am doing a project ,use qt and libzdb,but I donnot know how to use libzdb in the multi-thread environment . as I find the most time is the connectpool_start() ,and at the end of the thread I must call url_free() and connectpool_free .Is is right? I hope someone who can help
me! I use libzdb in a multi-threaded setup. Creating and cleaning up the connection pool is done in the main thread, so the pool is shared between all threads. Worker threads only need to do: ConnectionPool_getConnection(pool) use the connection and do Connection_close(connection); once they are done with it so it can return to the pool No need to worry about locking since that is libzdb's job. Starting a separate pool for each thread invalidates the use of a connection-pool. -- ________________________________________________________________ Paul J Stevens pjstevns @ gmail, twitter, skype, linkedin * Premium Hosting Services and Web Application Consultancy * www.nfg.nl/info@nfg.nl/+31.85.877.99.97 ________________________________________________________________ ------------------------------ _______________________________________________ libzdb-general mailing list libzdb-general@tildeslash.com http://www.tildeslash.com/mailman/listinfo/libzdb-general End of libzdb-general Digest, Vol 43, Issue 8 *********************************************
participants (1)
-
马佳佳