[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: More download questions !





On Tue, 15 Apr 1997, Chris Johns wrote:

> I have used it in the RTEMS C++ wrapper currently being developed (actually
> added a micro-seconds to tick macro). The wrapper's interface is micro-seconds
> for timeouts, not ticks.
> 
> This causes problems for a downloaded application using this macro because of
> the external reference.

> What externals would be referenced ?

The answer is "as few as possible" -- ideally 0. :)

> The C++ wrapper only uses one, so far. Maybe the API could be extended to
> include a call to get this value.

The clock_get call already has a list of time related things it can
return.  This directive is not trying to be compliant with any standard 
so feel free to add another one for microseconds per tick.

--joel