[fpc-devel] Call initialisation of library automatically in unit-initialization?

2008-12-03 Thread Joost van der Sluis
Hi all, When you use the MySQL client, you have to call myslq_library_init to initialise the library, and mysql_library_end to de-initialize it again. When the library is dynamically loaded using mysqlXXdyn.pp, shall I call these functions automatically? Or should we leave it to the programmer?

Re: [fpc-devel] Call initialisation of library automatically in unit-initialization?

2008-12-03 Thread Marco van de Voort
In our previous episode, Joost van der Sluis said: When you use the MySQL client, you have to call myslq_library_init to initialise the library, and mysql_library_end to de-initialize it again. When the library is dynamically loaded using mysqlXXdyn.pp, shall I call these functions

Re: [fpc-devel] Call initialisation of library automatically in unit-initialization?

2008-12-03 Thread Michael Van Canneyt
On Wed, 3 Dec 2008, Joost van der Sluis wrote: Hi all, When you use the MySQL client, you have to call myslq_library_init to initialise the library, and mysql_library_end to de-initialize it again. When the library is dynamically loaded using mysqlXXdyn.pp, shall I call these functions

Re: [fpc-devel] Dwarf Debug Information

2008-12-03 Thread Marc Weustink
dmitry boyarintsev wrote: Hello AFAIK, dwarf debug info generation is not yet fully implemented for the compiler. I'm interseted in CallFrame information, so debugger, can use it to unwind the call stack. I've tried to compiled hello world program using fpc -gw3 hello.pas, and found that

Re: [fpc-devel] Call initialisation of library automatically in unit-initialization?

2008-12-03 Thread Joost van der Sluis
Op woensdag 03-12-2008 om 13:09 uur [tijdzone +0100], schreef Michael Van Canneyt: On Wed, 3 Dec 2008, Joost van der Sluis wrote: When you use the MySQL client, you have to call myslq_library_init to initialise the library, and mysql_library_end to de-initialize it again. When the

Re: [fpc-devel] Dwarf Debug Information

2008-12-03 Thread dmitry boyarintsev
Thanks for the input, Marc ___ fpc-devel maillist - fpc-devel@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-devel

Re: [fpc-devel] Call initialisation of library automatically in unit-initialization?

2008-12-03 Thread Martin Friebe
Joost van der Sluis wrote: Op woensdag 03-12-2008 om 13:09 uur [tijdzone +0100], schreef Michael Van Canneyt: On Wed, 3 Dec 2008, Joost van der Sluis wrote: When you use the MySQL client, you have to call myslq_library_init to initialise the library, and mysql_library_end to

[fpc-devel] Multithreading wait for

2008-12-03 Thread Mattias Gärtner
Hi all, I'm looking for a high performance 'wait-for'. The situation: There are m threads working in parallel on n chunks of work (n=m). The n chunks are indexed 0..n-1. Sometimes one thread needs the result of some of the lower indexed chunks. For example the chunk number 5 needs chunks 0..2.

Re: [fpc-devel] Multithreading wait for

2008-12-03 Thread Martin Friebe
Mattias Gärtner wrote: Hi all, I'm looking for a high performance 'wait-for'. The situation: There are m threads working in parallel on n chunks of work (n=m). The n chunks are indexed 0..n-1. Sometimes one thread needs the result of some of the lower indexed chunks. For example the chunk

Re: [fpc-devel] Call initialisation of library automatically in unit-initialization?

2008-12-03 Thread Joost van der Sluis
Op woensdag 03-12-2008 om 15:06 uur [tijdzone +], schreef Martin Friebe: Joost van der Sluis wrote: Op woensdag 03-12-2008 om 13:09 uur [tijdzone +0100], schreef Michael Van Canneyt: On Wed, 3 Dec 2008, Joost van der Sluis wrote: When you use the MySQL client, you have

Re: [fpc-devel] Multithreading wait for

2008-12-03 Thread Vinzent Höfler
Mattias Gärtner wrote: The situation: There are m threads working in parallel on n chunks of work (n=m). The n chunks are indexed 0..n-1. Sometimes one thread needs the result of some of the lower indexed chunks. For example the chunk number 5 needs chunks 0..2. So I have a function

Re: [fpc-devel] Multithreading wait for

2008-12-03 Thread Mattias Gaertner
On Wed, 03 Dec 2008 19:41:12 +0100 Vinzent Höfler [EMAIL PROTECTED] wrote: Mattias Gärtner wrote: The situation: There are m threads working in parallel on n chunks of work (n=m). The n chunks are indexed 0..n-1. Sometimes one thread needs the result of some of the lower indexed

Re: [fpc-devel] Multithreading wait for

2008-12-03 Thread Mattias Gaertner
On Wed, 03 Dec 2008 15:41:55 + Martin Friebe [EMAIL PROTECTED] wrote: Mattias Gärtner wrote: Hi all, I'm looking for a high performance 'wait-for'. The situation: There are m threads working in parallel on n chunks of work (n=m). The n chunks are indexed 0..n-1. Sometimes one

[fpc-devel] FPC on Arm7

2008-12-03 Thread Nataraj S Narayan
Hi Is there a chance of using fpc on Arm7 boards without OS? I have with me an AT91SAM7 board with 64K Ram and 512K flash. The limited memory makes it difficult to load an OS. One alternative is to use Armpit Scheme, which is a scheme language implementation for Arm7 boards. You can see it at