Hi All ..
It seems Semaphores satisfied my conditions ... Below is the modified
behaviour ...
Connection_To_PG()
{
/* Making a connection to PG 9.0 */
}
void* Independent_Thread1()
{
while(1)
{
sleep(5);
/* Doing 1 Insert Operation on Table A*/
*sem_post(&Flag);*
}
}
void* Independent_Thread2()
Thanks Craig/Reid ..
Yes it was duplicated ... Sorry
Regards,
Dinesh
On Thu, Aug 2, 2012 at 6:20 AM, Craig Ringer wrote:
> Argh, disregard. Your post was duplicated, and this copy only just reached
> me.
>
Argh, disregard. Your post was duplicated, and this copy only just
reached me.
--
Sent via pgsql-general mailing list (pgsql-general@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-general
On 08/01/2012 05:19 PM, dinesh kumar wrote:
Respected All,
This is my first post in PG-Generals. If it is not the place for these
kind of queries, then please guide me where i need to post.
I have a quick question regarding "pthread" with PostgreSQL 9.0 Libpq.
I'm facing a problem with "Pthr
Hi Merlin/Alban,
Thank you very much for your guidance .. Sure will use Async Llibpq
Functionalities or Will use Thread Mutex for making the the queries to be
synchronize ...
Best Regards,
Dinesh
manojadinesh.blogspot.com
On Wed, Aug 1, 2012 at 7:33 PM, Merlin Moncure wrote:
> On Wed, Aug 1,
Respected All,
This is my first post in PG-Generals. If it is not the place for these kind
of queries, then please guide me where i need to post.
I have a quick question regarding "pthread" with PostgreSQL 9.0 Libpq. I'm
facing a problem with "Pthread" and libpq. Please find the below program
beh
On Wed, Aug 1, 2012 at 8:09 AM, Alban Hertroys wrote:
> On 1 Aug 2012, at 14:32, dinesh kumar wrote:
>
>> Respected All,
>>
>> This is my first request/post in PG-Generals. If it is not the place for
>> these kind of queries, then please guide me where i need to be.
>>
>> I have a quick question
On 1 Aug 2012, at 14:32, dinesh kumar wrote:
> Respected All,
>
> This is my first request/post in PG-Generals. If it is not the place for
> these kind of queries, then please guide me where i need to be.
>
> I have a quick question regarding "pthread" with PostgreSQL 9.0 Libpq. I'm
> facing