All of lore.kernel.org
 help / color / mirror / Atom feed
From: Eric Bambach <eric@cisu.net>
To: "Huber, George K RDECOM CERDEC STCD SRI" <George.K.Huber@us.army.mil>
Cc: linux prg <linux-c-programming@vger.kernel.org>
Subject: Re: Multithreading with C++
Date: Thu, 7 Apr 2005 11:36:11 -0500	[thread overview]
Message-ID: <200504071136.11219.eric@cisu.net> (raw)
In-Reply-To: <D2AA47A6FB2C1A48AF0526440C0F245CAA3676@monm207.nae.ds.army.mil>

On Thursday 07 April 2005 12:02 pm, you wrote:
> All,
>
> This may be a little off topic, but I though I would try here first.

Did you compile with -lpthread and -D_REENTRANT? If I remeber correctly, this 
is something I had alot of trouble with when I started thread programming. 
Similiar error and everything. Compiled but the library calls weren't 
working. Make sure to include <pthread.h> too  ;)

> I am writting a multi-threaded program and would like to have each
> thread `managed' by a class.  I have attempted to do this like this,
> using the pthreads library:

--snip--

> Thanks,
> George Huber
>

-- 
----------------------------------------
--EB

> All is fine except that I can reliably "oops" it simply by trying to read
> from /proc/apm (e.g. cat /proc/apm).
> oops output and ksymoops-2.3.4 output is attached.
> Is there anything else I can contribute?

The latitude and longtitude of the bios writers current position, and
a ballistic missile.

                --Alan Cox LKML-December 08,2000 

----------------------------------------
-
To unsubscribe from this list: send the line "unsubscribe linux-c-programming" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

  reply	other threads:[~2005-04-07 16:36 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-04-07 17:02 Multithreading with C++ Huber, George K RDECOM CERDEC STCD SRI
2005-04-07 16:36 ` Eric Bambach [this message]
2005-04-08  2:01 ` Ron Michael Khu
  -- strict thread matches above, loose matches on Subject: below --
2005-04-07 18:52 Huber, George K RDECOM CERDEC STCD SRI
2005-04-07 19:01 ` Darío Mariani
     [not found]   ` <fde202080504071322520de47@mail.gmail.com>
2005-04-07 20:26     ` Sandro Dangui
2005-04-08  6:47 Colovic (ext_evosoft) Aleksandar

Reply instructions:

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

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

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=200504071136.11219.eric@cisu.net \
    --to=eric@cisu.net \
    --cc=George.K.Huber@us.army.mil \
    --cc=linux-c-programming@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.