[Mono-docs-list] Adding a link toStudentProjectsinContributingand ThreadsBeginnersGuide

Luciano _ lnc19 at hotmail.com
Thu Mar 15 13:41:48 EDT 2007


Thanks a lot for the suggestions:
I reformatted the code with Coding Guidelines in my mind :)

I split up the *Passing parameters to threads* article in 2 sections, .NET 
1.0 (which i already did it in my previous post) and i add a new one .NET 
2.0 with the proper way to do this in .NET 2.0.
Concerning to callback example an explanation, this is the way that i did it 
in my code :) so, this is the way that i now how to do this, but i will read 
about BeginInvoke and EndInvoke and i will add this example too. I leave the 
Gtk stuff too :)

Thanks again for suggestion. I will be writting articles from now on with 
the common problems that i was having in my develpoment process, any 
suggestion will be really appreciated.

Luciano



>From: Valentin Sawadski <valentin.sawadski at gmx.de>
>Reply-To: valentin.sawadski at gmx.de
>To: "Luciano _" <lnc19 at hotmail.com>
>CC: mono-docs-list at lists.ximian.com
>Subject: Re: [Mono-docs-list] Adding a link 
>toStudentProjectsinContributingand ThreadsBeginnersGuide
>Date: Thu, 15 Mar 2007 16:58:23 +0100
>MIME-Version: 1.0
>Received: from lists.ximian.com ([130.57.169.22]) by 
>bay0-mc2-f4.bay0.hotmail.com with Microsoft SMTPSVC(6.0.3790.2668); Thu, 15 
>Mar 2007 08:57:19 -0700
>Received: from galactus.ximian.com (localhost.localdomain [127.0.0.1])by 
>lists.ximian.com (Postfix) with ESMTP id A11CB1CFC18;Thu, 15 Mar 2007 
>13:37:07 -0400 (EDT)
>Received: from herald.ximian.com (frontgate.ximian.com [130.57.169.19])by 
>lists.ximian.com (Postfix) with ESMTP id 733531CFB8Bfor 
><mono-docs-list at lists.ximian.com>;Thu, 15 Mar 2007 13:37:05 -0400 (EDT)
>Received: by herald.ximian.com (Postfix, from userid 2601)id 16661700B9; 
>Thu, 15 Mar 2007 10:57:17 -0500 (EST)
>Received: from mail.gmx.net (mail.gmx.net [213.165.64.20])by 
>herald.ximian.com (Postfix) with SMTP id EE8AF700B7for 
><mono-docs-list at lists.ximian.com>;Thu, 15 Mar 2007 10:57:13 -0500 (EST)
>Received: (qmail invoked by alias); 15 Mar 2007 15:57:12 -0000
>X-Message-Info: 
>LsUYwwHHNt2+ldJmBX4L0Xte/npGRrKPVjXqJpQTzuDdZbVV4S146IFPkDBjfgPY
>X-Original-To: mono-docs-list at lists.ximian.com
>Delivered-To: mono-docs-list at lists.ximian.com
>X-Provags-ID: 
>V01U2FsdGVkX1/ETd0Wl7zEcdo/htpKp5lfI1B5Z9pJY75+UhAqgIlyrhJrJNbWleGu
>User-Agent: KMail/1.9.5
>References: <BAY142-F33EFCA7B83CA06AA5C968EA6720 at phx.gbl>
>X-Y-GMX-Trusted: 0
>X-Spam-Checker-Version: SpamAssassin 3.0.3 (2005-04-27) on 
>frontgate.ximian.com
>X-Spam-Level: *
>X-Spam-Status: No, score=1.8 required=5.0 
>tests=MY_OBFUJ,MY_OBFUT,SPF_HELO_PASS,SPF_PASS version=3.0.3
>X-BeenThere: mono-docs-list at lists.ximian.com
>X-Mailman-Version: 2.1.8
>Precedence: list
>List-Id: "Documentation for Mono." <mono-docs-list.lists.ximian.com>
>List-Unsubscribe: 
><http://lists.ximian.com/mailman/listinfo/mono-docs-list>,<mailto:mono-docs-list-request at lists.ximian.com?subject=unsubscribe>
>List-Archive: <http://lists.ximian.com/pipermail/mono-docs-list>
>List-Post: <mailto:mono-docs-list at lists.ximian.com>
>List-Help: <mailto:mono-docs-list-request at lists.ximian.com?subject=help>
>List-Subscribe: 
><http://lists.ximian.com/mailman/listinfo/mono-docs-list>,<mailto:mono-docs-list-request at lists.ximian.com?subject=subscribe>
>Errors-To: mono-docs-list-bounces at lists.ximian.com
>Return-Path: mono-docs-list-bounces at lists.ximian.com
>X-OriginalArrivalTime: 15 Mar 2007 15:57:19.0884 (UTC) 
>FILETIME=[9CAE7CC0:01C7671A]
>
>Hi Luciano,
>
>first, thanks for taking to time to contribute to mono. :-)
>
>Now, I've taken a look at your submissions and would suggest, that you 
>should
>leave out the GTK stuff. Since this Guide shall only contain information
>which can be used in any context. (As I wrote on the top of the article).
>Instead you could try how to make your own threaded library responsive by
>saying how this can be achieved and how that library should then be used.
>
>In addition I would encourage you to rewrite your first example to use the
>ParameterizedThreadStart Delegate
>(http://msdn2.microsoft.com/en-us/library/system.threading.parameterizedthreadstart.aspx),
>since this is the standard way for invoking threads with parameters in the
>2.0 version of .NET.
>
>The callback example looks quite good. But If you like you could show how 
>to
>use delegates to execute methods synchronously with DynamicInvoke or 
>"normal"
>invocation wit paranthesis and asynchronously by using the BeginInvoke and
>EndInvoke methods as well as wheres the difference between them (which 
>method
>is being excecuted on what thread, which thread has to wait till the 
>delegate
>executes,...)
>
>But, keep up the good work and please mind the coding guidelines for mono
>(http://mono-project.com/Coding_Guidelines) when submitting code samples.
>
>Kind Regards,
>Valentin S.
>
>On Thursday 15 March 2007 13:07, you wrote:
> > I get no password or even write access :)
> > So, i attach a text file with the info to add to this article.
> >
> > Bye
> > Luciano
> >
> > >From: Miguel de Icaza <miguel at novell.com>
> > >To: Luciano _ <lnc19 at hotmail.com>
> > >CC: valentin.sawadski at gmx.de, mono-docs-list at lists.ximian.com
> > >Subject: Re: [Mono-docs-list] Adding a link to
> > >StudentProjectsinContributingand ThreadsBeginnersGuide
> > >Date: Tue, 13 Mar 2007 12:45:30 -0400
> > >MIME-Version: 1.0
> > >Received: from erandi.dom ([130.57.22.201]) by
> > >bay0-mc5-f11.bay0.hotmail.com with Microsoft SMTPSVC(6.0.3790.2668); 
>Tue,
> > >13 Mar 2007 09:46:55 -0700
> > >Received: by erandi.dom (Postfix, from userid 500)id A086ACDB11; Tue, 
>13
> > >Mar 2007 12:45:30 -0400 (EDT)
> > >X-Message-Info:
> > >LsUYwwHHNt3660MmjhEvYg2f34OAemlK+ZzoV09lDsZmbz8QigGIQtU5Yvr3lK0P
> > >References: <BAY142-F151EC0BB9957C8A3D3B457A67C0 at phx.gbl>
> > >Organization: Novell, Inc. X-Mailer: Evolution 2.6.0 Return-Path:
> > >miguel at novell.com
> > >X-OriginalArrivalTime: 13 Mar 2007 16:46:55.0972 (UTC)
> > >FILETIME=[35BDFA40:01C7658F]
> > >
> > >Hey,
> > >
> > > > It is an excelent article. I was looking for this info in the past, 
>and
> > > > someone help me with this at #Irc. Could i improved a little bit? 
>Like
> > > > adding info about passing info to thread method? How do i do this? I
> > >
> > >haven't
> > >
> > > > got write access.
> > >
> > >Send me your full name and I can set up an account for you
> >
> > _________________________________________________________________
> > Visita MSN Latino Noticias: Todo lo que pasa en el mundo y en tu paín, 
>¡en
> > tu idioma! http://latino.msn.com/noticias/
>_______________________________________________
>Mono-docs-list maillist  -  Mono-docs-list at lists.ximian.com
>http://lists.ximian.com/mailman/listinfo/mono-docs-list

_________________________________________________________________
Un amor, una aventura, compañía para un viaje. Regístrate gratis en MSN Amor 
& Amistad. http://match.msn.es/match/mt.cfm?pg=channel&tcid=162349



More information about the Mono-docs-list mailing list