[GSoC]problem in POSIX Key test case under classic API

Ashi ashi08104 at gmail.com
Thu Jul 26 01:24:39 UTC 2012


2012/7/26 Gedare Bloom <gedare at rtems.org>

> classic semaphore should be able to adapt to your needs. I don't know
> if there is a classic version of a condition variable..
>
> Thanks, Gedare. I know there is kind of condition variable implementation
which is done by semaphore. I'll try it.

> On Wed, Jul 25, 2012 at 8:35 AM, Ashi <ashi08104 at gmail.com> wrote:
> > Hi, all.
> > I'm working on the test case of POSIX key under unlimited RTEMS tasks(the
> > psxkey08 test in psxtest directory), that tests whether POSIX Key works
> when
> > called by classic API under unlimited task configuration.
> > I've done the similiar test case in POSIX API. They share a similiar
> > workflow: in POSIX API test case(the psxkey07 test in psxtest
> directory), I
> > use condition variable to do thread synchronization. My question is can I
> > use POSIX condition variable in classic API(namely, in psxkey08)? If no,
> > which manager in classic API should I choose to do the similiar work as
> > condition variable?
> >
> > BTW, I also use condition variable to do RTEMS task synchronization in my
> > current implementation of psxkey08, and it seems also work.
> >
> > My work has been push to github:
> > https://github.com/ashi08104/rtems/commits/one_rbtree
> > --
> > Best wishes!
> > Zhongwei Yao
> >
> >
> > _______________________________________________
> > rtems-devel mailing list
> > rtems-devel at rtems.org
> > http://www.rtems.org/mailman/listinfo/rtems-devel
> >
>



-- 
Best wishes!
Zhongwei Yao
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/devel/attachments/20120726/5002d90a/attachment-0001.html>


More information about the devel mailing list