pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: David Durst <ddurst@larubber.com>
To: pgsql-sql@postgresql.org
Subject: Re: Scheduling Events?
Date: Thu, 23 Jan 2003 23:13:04 -0800 (PST)
Message-ID: <41631.216.86.192.34.1043392384.squirrel@www.la-rubber.com> (raw)

On a side note, if the DB doesn't support this capability.
Does anyone see a HORRIBLE issue w/ creating a C func
something of this nature.


int handle_temporal_events() {
  if(fork == 0) {
    //In here we monitor what time it is
    //And maintain a Datastructure w/ events
    //And update it every so often
    //Then preform various background tasks
  }
  else if(fork == -1) {
    //Thread error
  }
}





view thread (13+ messages)  latest in thread

Message-ID: <41631.216.86.192.34.1043392384.squirrel@www.la-rubber.com>
Permalink:  ../41631.216.86.192.34.1043392384.squirrel@www.la-rubber.com/
Also on:    postgresql.org/message-id/41631.216.86.192.34.1043392384.squirrel@www.la-rubber.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-sql@postgresql.org
  Cc: ddurst@larubber.com
  Subject: Re: Scheduling Events?
  In-Reply-To: <41631.216.86.192.34.1043392384.squirrel@www.la-rubber.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox