ts-7000
[Top] [All Lists]

[ts-7000] Re: question about threads

To:
Subject: [ts-7000] Re: question about threads
From: "noone_1983" <>
Date: Mon, 14 Mar 2005 02:28:19 -0000

Sorry to reply to my own message, but I found the problem, and it was
something silly that I overlooked because I didn't know to check.
Adding -lpthread to the gcc command was all I needed to do.
On a related note, with threads, are there any issues with memory
access and IO that would be of concern?  No two threads should attempt
to read from the same I/O pin, but different I/O pin read and writes
may occur from different threads.  Would there be any issues I would
be missing?

Thanks again,
Sajendra N.

--- In  "noone_1983" <> wrote:
> 
> 
> Hello all,
>    This may be a bit of a silly question arising from inexperience,
> but please bear with me.  I am new to programming on the TS-7200,
and
> under Linux in general.  I am testing creating a simple threaded
> program, and I am running into problems.  I created a program using
> the pthread library, just a simple program that creats two threads
> that do their thing. I  can get it to compile and run normally, but
> when I try to compile it using the crosstool, I get a compilation
> error calling pthread_create.
> Am I missing something simple? Also, does anyone have any accessible
> information on thread programming on this machine? 
> 
> Thanks.





 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/ts-7000/

<*> To unsubscribe from this group, send an email to:
    

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 



<Prev in Thread] Current Thread [Next in Thread>
Admin

Disclaimer: Neither Andrew Taylor nor the University of NSW School of Computer and Engineering take any responsibility for the contents of this archive. It is purely a compilation of material sent by many people to the birding-aus mailing list. It has not been checked for accuracy nor its content verified in any way. If you wish to get material removed from the archive or have other queries about the archive e-mail Andrew Taylor at this address: andrewt@cse.unsw.EDU.AU