| delorie.com/archives/browse.cgi | search |
| X-Spam-Check-By: | sourceware.org |
| From: | "Dave Korn" <dave DOT korn AT artimi DOT com> |
| To: | <cygwin AT cygwin DOT com> |
| Subject: | RE: g++ 3.4.4, mingw32, exceptions and threads |
| Date: | Thu, 22 Jun 2006 19:45:42 +0100 |
| Message-ID: | <009201c6962c$102d27c0$a501a8c0@CAM.ARTIMI.COM> |
| MIME-Version: | 1.0 |
| X-Mailer: | Microsoft Office Outlook 11 |
| In-Reply-To: | <062220061834.3739.449AE2B000052C1600000E9B2209229927C802019C040A020A05@comcast.net> |
| Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
| List-Unsubscribe: | <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com> |
| List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
| List-Archive: | <http://sourceware.org/ml/cygwin/> |
| List-Post: | <mailto:cygwin AT cygwin DOT com> |
| List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs> |
| Sender: | cygwin-owner AT cygwin DOT com |
| Mail-Followup-To: | cygwin AT cygwin DOT com |
| Delivered-To: | mailing list cygwin AT cygwin DOT com |
On 22 June 2006 19:34, kenelson8 wrote:
> I am having problems getting exceptions to work properly in
> the latest release of g++ distributed from cygwin. I have a multithreaded
> code which is built using the no-cygwin option.
What part of 'no cygwin' don't you get? ;)
If there's a bug in mingw, you should raise it on a mingw mailing list.
Discussing it here would be as much of a waste of time as discussing it on an
MSVC mailing list.
> This is obviously a case where
You know what they say about what happens if you assume ...
> I have included an example below. It appears to work without the
> -mno-cygwin option.
So, as far as the cygwin mailing list is concerned, this is to report that
there is /no/ bug? Thanks for that!
> int main() {
> thread_=::CreateThread(NULL,0, (LPTHREAD_START_ROUTINE) thread_go, 0, 0,
NULL);
You're actually fairly lucky that it works when you go mixing random
win32-isms into a Cygwin app like that; you should be using pthread functions
to spawn threads under cygwin.
cheers,
DaveK
--
Can't think of a witty .sigline today....
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |