problem is only with building on Linux-arm. I've never had this
issue in any other linux device.
--
Andrew Brunner
Aurawin LLC
512.850.3117
https://aurawin.com/
Aurawin is a great new way to store, share and enjoy your photos, videos,
music, and more.
___
as your error seems to be caused by some conditional parsing the extra
defines above might help (or not .)
Michael
Hi Michael,
I tried to use the options above to no avail. Thanks for the effort though.
--
Andrew Brunner
Aurawin LLC
512.850.3117
https://aurawin.com/
Aurawin is a great
27;/Developer/FPC/compiler'
Makefile:2826: recipe for target 'compiler_cycle' failed
make[1]: *** [compiler_cycle] Error 2
make[1]: Leaving directory '/Developer/FPC'
Makefile:2858: recipe for target 'build-stamp.arm-linux' failed
Makefile:215: *** The Makefile doesn't support target armhf-linux,
please run fpcmake first. Stop.
Can someone help?
--
Andrew Brunner
Aurawin LLC
512.850.3117
https://aurawin.com/
Aurawin is a great new way to store, share and enjoy your photos, videos,
music, and
On 4/2/2015 11:46 AM, Michael Van Canneyt wrote:
Namespaces are available as dotted units ?
Namespace as dotted units? I use 3.1.1 compiled here so there is no
problem. FPC since as far as I recall (svn) has had support for naming
units with multiple dots. I've had tons of units with includ
On 4/2/2015 2:24 AM, Michael Van Canneyt wrote:
And already utterly unreadable for me...
IMHO goes to show that this is a very personal matter :-)
Units that include hierarchy via class types are a supplement for
namespaces in languages such as c#. Since Namespaces are not *yet*
available i
h. I would be ideal to offer developers a choice of
which scripting language they want to write back-end code.
But if I am to provide developers with instant API to do complex code
that is relevant to computing needs of today, I will need access to
nested objects in either of these JITCs.
I am trying to integrate javascript for back-end support of cloud apps.
I noticed the fcl-js package. Does anyone have an idea when we can
expect to have a component suite much like the PascalScript?
Thanks,
--
Andrew Brunner
Aurawin LLC
512.850.3117
https://aurawin.com/
Aurawin is a
system wide without compiler directives? What's the hold-up
or reason why the mode is even needed?
Thanks again,
On 11/23/2013 09:43 AM, Jonas Maebe wrote:
On 23 Nov 2013, at 15:47, Andrew Brunner wrote:
I'm wondering if the is nested procedure type is supposed to work
{$
pascal.org/FPC_New_Features_2.6.0#Support_for_nested_procedure_variables
Thanks,
--
Andrew Brunner
Aurawin LLC
512.850.3117
https://aurawin.com/
Aurawin is a great new way to store, share and enjoy your photos, videos,
music, and more.
___
fpc-pasca
On 09/28/2013 07:51 AM, Jonas Maebe wrote:
You can read your data into a RawByteString and then call
SetCodePage(rawbytestr,codepagenr,false) to set its code page to
whatever the code page of the data in that string is (without
attempting to convert the data, which is what the last "false"
pa
/decoding of strings as perhaps some inspiration that may lead
to FPC internal support for such a mechanism.
Thanks,
Andrew Brunner
Aurawin LLC
512.574.6298
https://aurawin.com
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http
is a limitation
of strings and memory allocation w/r/t xml.
I would suggest that the reporter just implement function toXML()
method(s) to construct XML data as a string and use
T(File/Memory)Stream. This method has worked well for me.
--
Andrew Brunner
Aurawin LLC
15843 Garrison Circle
A
Image Magick comes with static libraries and dynamic libraries.
Is there any way to make ImageMagick unit support the *.lib files?
I'm trying to avoid having to distribute the ImageMagick dlls.
Thanks,
--
Andrew Brunner
Aurawin LLC
15843 Garrison Circle
Austin, TX 78717
https://aurawi
I agree with what you are saying as long as the os matches the binary type.
An x64 native package must install a x64bit binary and utils.
I would be understating if I said that a 32bit binary would be normal on a
64bit distro.
Andrew Brunner
Aurawin LLC
512.574.6298
A safe new way to
http://bugs.freepascal.org/view.php?id=24346
Can someone please apply patch? Thanks.
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal
solution must conform to FPC standards with regards to builds/packaging.
Thanks for any help in offering a 64bit download of FPC.
Andrew Brunner,
Aurawin LLC
512.574.6298
http://aurawin.com/
Aurawin is great new way to store and share your pictures, videos, and more,
featuring our innovative
On 04/28/2013 02:49 PM, Andrew Brunner wrote:
I can't get ImageMagick unit to work under Windows XP 64.
Also, I have confirmed that ImageMagick installed and the application
does work.
Can someone please edit change the unit code for Windows instead of Win32?
The libraries are identica
x27;;
WandExport = 'libMagickWand'; // Previous ImageMagick versions used
'libWand'
{$endif}
CORE_RL_magick_.dll
CORE_RL_wand_.dll'
Apon running the app, libMagickWand.dll was not found.
Can someone please look into this?
Thanks,
--
Andrew Brunner
Aurawin LLC
15843 Ga
ad code would be limited to reflect on the code
contributor/creator.
But to 1.) above, wrongly kowning up to bad code contributions is my
largest genuine concern.
--
Andrew Brunner
Aurawin LLC
15843 Garrison Circle
Austin, TX 78717
https://aurawin.com
Aurawin is a great new way to store,
orced into a bracket it ought-not-be.
Jascal DOES look cool ;-)
--
Andrew Brunner
Aurawin LLC
15843 Garrison Circle
Austin, TX 78717
https://aurawin.com
Aurawin is a great new way to store, share, and explore all your content
featuring our innovative cloud social computin
m.Size:=0;
blob:=MagickGetImageBlob(wand,@bSize);
Stream.Write(blob^,bSize);
Result:=true;
end;
end;
finally
DestroyMagickWand(wand);
end;
end;
--
Andrew Brunner
Aurawin LLC
15843 Garrison Circle
Austin, TX 78717
https://aurawin.com
Aurawin is a great n
On 02/25/2013 04:51 AM, Graeme Geldenhuys wrote:
ImageMagick will probably be a good choice. Regards, - Graeme -
Ok, I'm going to start tests with that. Thanks
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/m
On 02/24/2013 04:44 AM, Michael Van Canneyt wrote:
Try to get rid of the XML, it is always going to be slow.
Using XML can slow your applications with a factor 6.
If you are mime-encoding an image, it'll be even more.
I was just thinking about that. I think JSON would be ok, especially if
I
iews images via my preview app, I don't send the
originals, I scale those too using the same methods. The speed is
killing my server's performance.
Does anyone have any idea how to speed up the underlining code?
--
Andrew Brunner
Aurawin LLC
15843 Garrison Circle
Austin, TX 787
On Feb 16, 2013, at 2:37 AM, Reinier Olislagers
wrote:
>
> Security problems with world-writable files? Yes, that problem applies
> to *nix as well but Mark has given no indication his config files are
> world-writable. (Even if the logins Mark speaks of run under different
> user accounts, t
ey don't try to
update it simultaneously?
In the case that I'm thinking of, I don't anticipate e.g. multiple
logins trying to write setup information at the same time. The more
risky case is if there are e.g. multiple daemons or apps trying to
save state when a UPS signals imm
code-tools system does
find the unit when I hot-click the unit.
I'm going to FPC/Laz build from svn/source but I just wanted to post
here to see what was the cause...
--
Andrew Brunner
Aurawin LLC
512.574.6298
http://aurawin.com/
Aurawin is a great new way to store, share, and enjoy your
alled.
It looks like heavy XML. It will require use the fpc-xml. Are the DOM
components proven to be memory leak free at this point?
--
Andrew Brunner
Aurawin LLC
512.574.6298
A safe new way to store and share your files, pictures, videos, and more.
http://aurawi
look at Apache svn source (C++) to port to Aurawin's HTTP server.
But where is the "Official" svn documentation for implementing svn over
http?
--
Andrew Brunner
Aurawin LLC
512.574.6298
A safe new way to store and share your files, pictures, videos, and more.
htt
e have any contributions of SVN client/server code in pascal?
Any help is greatly appreciated,
Andrew Brunner
Aurawin LLC
512.574.6298
A safe new way to store and share your files, pictures, videos, and more.
http://aurawin.com/
___
fpc-pascal maillist -
/view.php?id=22985
(I did only basic testing)
-Laco.
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal
--
Andrew Brunner
Aurawin LLC
512.574.6298
http://aurawin.com/
Aurawin is a great
he patch - I'm updating my FPC /Lazarus and building now...
--
Andrew Brunner
Aurawin LLC
512.574.6298
http://aurawin.com/
Aurawin is a great new place to store, share, and enjoy your
photos, videos, music and more.
___
fpc-pascal maillist - f
:='LATIN1';
This does nothing for me when Connection is a postgresql connection.
Anyone have any experience with postgresql character sets / encoding???
I can't hard-code any one character set because users from 1 region will
have different encoding needs than another.
Any he
Hi there,
I'm seeking help to address an issue I presently have with a Server
application that uses TPostgres components.
Each manager thread has its own Connection, Transaction, and TQuery.
Each manager can handle potentially thousands of sockets
Each server instance (1 process) can have up to ~
On Sun, May 20, 2012 at 8:52 AM, Jonas Maebe The
above was a question relating to "... with the exception of threads calling
methods via synchronize (so I can debug)." I.e., what are the exact things
you are doing, what is happening, and what are the expected results
regarding trying to debug thre
>
>
> What are you doing exactly, what happens, and what is the expected result
> instead?
>
I'm upgrading my gdb from shipping version with darwin to gdb version from
download. I downloaded and ran /configure make make install 7.1. It
doesn't work with fpc. I'm going to have to switch back. T
I'm having a hard time with GDB and debugging threads on a OSX 10.7.4 with
fpc/trunk
The shipped gdb worked great with the exception of threads calling methods
via synchronize (so I can debug).
I'm in the process of building GDB from download and configure set gdb to
x64 darwin. Configure detect
I wanted to ask what the present state of unicode support is now.
I'm running into problems with some various strings. Sometimes when a
string contains a unicode character postgresql won't allow the
insert/update. Also, some MP3 tags contain UTF16, UTF16BE and I really
don't know of the best pra
> Windows supports epoll?
No, windows doesn't offer polling socket mechanisms. They send
messages to windows with the socket number - it's event driven.
Kernel polling is different, but I assumed that Darwin would support
it via e-Poll. I searched and found a few references to
kQueue/kEvent.
Th
I'm needing to figure out how socket signaling mechanisms work under darwin.
Windows and Linux work, Darwin however does not support ePoll.
Anyone have any experience with Sockets events under OSX i386?
Thanks.
___
fpc-pascal maillist - fpc-pascal@li
I'm needing to figure out how best to "close" or "seal" units so that
I can use the compiled unit object files instead of the actual unit
files.
The problem is that the compiled unit files call a few units that the
project has the source to. And FPC is looking to recompile the
compiled object fil
The only thing I can think of would be packet inspection. Firewalls
included with Linux and Windows do not perform "deep" packet
inspection. They only allow/deny packets with specific ports over
either TCP or UDP.
Am I missing something?
On Mon, Aug 1, 2011 at 12:31 PM, Michael Van Canneyt
wro
On Mon, Aug 1, 2011 at 12:05 PM, Michael Van Canneyt
wrote:
> ..But it is not always supported by the browser (as Marco indicated)
> and many firewalls simply don't agree with websockets.
>
Can firewalls detect websockets over port 80?
___
fpc-pascal m
On Mon, Aug 1, 2011 at 10:43 AM, Felipe Monteiro de Carvalho
wrote:
> On Mon, Aug 1, 2011 at 5:23 PM, Andrew Brunner
> wrote:
>> I agree with this one. The only thing I could add would be AJAX &
>> WebSockets for really advanced applications.
>
> Do WebSockets
On Mon, Aug 1, 2011 at 10:07 AM, Gustavo Enrique Jimenez
wrote:
> Hi:
>
> I send cookies to the client. One of those cookies is a "sessionID",
> a random number generated at login.
> My sequence is something like
>
> Login
> Client: username/password ->Login html button
> Server: run cgi app wit
Hmmm... Mozilla is open source... :-) We are free to port the
Scripting Engine to Pascal as long as we have the source? no?
On Mon, Feb 7, 2011 at 11:31 AM, Michael Van Canneyt
wrote:
> No, that project embeds mozilla in FPC.
___
fpc-pascal maillist
On Mon, Feb 7, 2011 at 10:39 AM, Brian Winfrey wrote:
>
> I have some interest in exploring javascript implementations for fpc.
> http://code.google.com/p/fpcjs/ -- Is this comparable to what you have noted?
Actually fpcjs is the first project that I, (myself), have seen that
addresses the gatew
On Mon, Feb 7, 2011 at 7:35 AM, wrote:
> A cross-platform solution is to use one of libsee or BESEN.
>
> The latter is implemented in 100% native Object Pascal.
>
> Michael.
BESEN is very, very, very well written but I can't seem to get any
indication how to use it in my project. I would love
; Now it would be easier.
>
> 2010/12/10 Andrew Brunner :
> > Hi there,
> >
> > I'm considering pascal scripting engines in stead of hot-swaped compiled
> > stored objects/dlls for server back-end development for clients (namely
> > WebSocket/JS). I came acr
Hi there,
I'm considering pascal scripting engines in stead of hot-swaped compiled
stored objects/dlls for server back-end development for clients (namely
WebSocket/JS). I came across a few relatively recent solutions and wanted
to know if there are any obscure "light weight" scripting engines bu
Bootstrapping from Ubuntu 10.10 and rebuilding from SVN got past the
problem. I guess that an evolutionary dead end with some bad revision
caused this problem...
Anyways. I'm back up and running.
On Mon, Nov 29, 2010 at 8:15 AM, Jonas Maebe wrote:
>
> On 29 Nov 2010, at 15:09, And
[options]
I'll go read that thread...
On Mon, Nov 29, 2010 at 8:15 AM, Jonas Maebe wrote:
>
> On 29 Nov 2010, at 15:09, Andrew Brunner wrote:
>
> FE. -FU/Developer/Source/Compilers/FPC/rtl/units/x86_64-linux -Cg -dx86_64
>> -dRELEASE ../objpas/fgl.pp
>> fgl.pp(128,
svn 1645
FE. -FU/Developer/Source/Compilers/FPC/rtl/units/x86_64-linux -Cg -dx86_64
-dRELEASE ../objpas/fgl.pp
fgl.pp(128,38) Error: Generics without specialization cannot be used as a
type for a variable
This has been stopping the build process for a few days now. Anyone know
about it or is thi
>> Then, once the program is running and has leaked memory, run
>> leaks nameofyourprogram
>
> Thanks for this tip! It is very interesting, however in this situation
> it does not detect the lost memory.
>
> At this point I have to give up on GetTextWidth - I will avoid it for
> now. Maybe next yea
On Fri, Oct 22, 2010 at 2:44 AM, Martin Schreiber wrote:
> The problem is in TypeStrings, ftLargeInt should return 'bigint' instead
> of 'int'. Fixed in MSEide+MSEgui trunk 4028.
> http://developer.berlios.de/svn/?group_id=11520
Thanks Martin!
> Interresting, MSEgui is used in production since y
I've got a problem with the PostgreSQL component. I've got an insert
statement with int64 values. The prepare command goes through but the
server denies the entire packet with the string value of the int64 is
too large for integer type error.
The fields were all declared as bigint and the parame
Yes. It's what I saw. I was still able to trace database components
line by line using Lazarus and GDB though.
On Wed, Oct 20, 2010 at 12:54 PM, Brian Winfrey wrote:
>> make OPT="-O-" DEBUG=1 all
>
> When I ran this I see that both -dDEBUG and -dRELEASE are passed on
> the fpc command line. Is
procedure VerifyIDs(Var Module:TDBMSModule);
var
iLcv:integer;
ItemP:PCoreObjectItem;
coGeneric:TPersistentClass;
coItem:TCoreObject;
begin
for iLcv:=0 to High(CoreObjectItems) do begin
ItemP:=CoreObjectItems[iLcv];
coGeneric:=GetClass(ItemP^.ClassName);
if (coGeneric<>nil) an
On Sun, Oct 17, 2010 at 3:33 AM, Michael Van Canneyt
wrote:
// Revised code
CCoreObject=Class(TCoreObject);
TCoreObjects=class;
TCoreObject=Class (TPersistent)
protected
class procedure VerifyIDs(var Module:TDBMSModule); Virtual; abstract;
end;
TAdminCore=Class(TCoreObject)
protected
I've got a class factory problem I'm trying to resolve and it appears
I'm at a point where it's probably better to ask for help.
TCoreObjects=class;
TCoreObject=Class (TPersistent)
protected
class procedure VerifyIDs(var Module:TDBMSModule); Virtual; abstract;
end;
TAdminCore=Class(T
On Sat, Oct 16, 2010 at 2:16 PM, Michael Van Canneyt
wrote:
> It would allow me to write programs that are multithreaded and don't use
> external libs.
Right. Every interface between the kernel space and user space add at
least one degree of inefficiency. So every FPC program would be
carrying
On Sat, Oct 16, 2010 at 2:16 PM, Henry Vermaak wrote:
> libpthread.so is the name of the library, not the name of the implementation.
I updated FPC from SVN and it is pointing to this library now :-).
Only problem is someone took some changes I made to remove semaphore
on thread creation... If I
On Fri, Oct 15, 2010 at 5:10 PM, Henry Vermaak wrote:
> I've told you before: NPTL is part of the glibc sources. Download the
> latest glibc sources and look in the nptl directory. The latest glibc
> release is 2.11.2.
FPC source to cThreads unit and the thread manager associated with
threadin
On Sat, Oct 16, 2010 at 7:04 AM, Jonas Maebe wrote:
> He cannot. If freeonterminate=true, then even if you call "inherited
> create(false)" as the very last statement of your constructor, the thread
> may already have finished running and freed itself before AfterConstruction
> is called. The Aft
:24, Andrew Brunner wrote:
>> Suggested Reading:
>> http://ftp.gnu.org/gnu/glibc/glibc-linuxthreads-2.3.6.tar.gz
>
> Why would you want to look at this? It's not used any more (except
> for really old kernels).
>
> Henry
> ___
I wanted to start a discussion based on current state of FPC and High
Performance Computing (HPC).
The premise of the thread is to discuss high scale threads. Currently
FPC has matured to the point where it might be beneficial to start
targeting a particular market for users. The first thing tha
On Fri, Oct 15, 2010 at 12:01 PM, Vinzent Höfler
wrote:
>> Exactly. It was poor implementation. You should have had a global
>> barrier onExecute. That would unlock the thread after everything you
>> needed was readable.
>
> If it's global, it would unlock *any* thread at that time.
Yes, belo
On Fri, Oct 15, 2010 at 11:03 AM, wrote:
> On Fri, 15 Oct 2010 17:24:03 +0200, Sven Barth
> wrote:
>
>> The problem isn't the pthreads library. The problem is the POSIX threading
>> specification of which pthreads is an implementation (look at the comment in
>> CSuspendThread again).
>
> Actuall
On Fri, Oct 15, 2010 at 10:57 AM, Vinzent Höfler
wrote:
>
> Huh? Why should the pthreads library have a semaphore or similar on each
> thread?
Good question. And according to pThreads source comments they
themselves did unwillingly.
___
fpc-pascal mail
On Fri, Oct 15, 2010 at 10:57 AM, Vinzent Höfler
wrote:
> If you access it inside the execute method, you more or
> less crash (or at least leak memory).
You obviously had a problem with access ThreadID before it was assigned.
Accessing it should not arrive at a RAV. I'm not sure this is on top
On Fri, Oct 15, 2010 at 10:24 AM, Sven Barth
wrote:
> The problem isn't the pthreads library. The problem is the POSIX threading
> specification of which pthreads is an implementation (look at the comment in
> CSuspendThread again).
POSIX is just like you say a specification. Suspend and Resume
On Fri, Oct 15, 2010 at 10:06 AM, Jonas Maebe wrote:
> First of all, if you use tthread.create(true) (i.e., create a suspended
> thread), then the "execute" method will never be called:
BTW: I did notice that the semaphore was being used to suspend the
thread. And I also know that that was it's
On Fri, Oct 15, 2010 at 9:55 AM, Sven Barth wrote:
> Am 15.10.2010 16:31, schrieb Andrew Brunner:
>>
>> On Fri, Oct 15, 2010 at 9:24 AM, Jonas Maebe
>> wrote:
>>>
>>> You replaced a bunch of semaphore create/lock/unlock/destroy operations
>>&g
On Fri, Oct 15, 2010 at 9:24 AM, Michael Van Canneyt
wrote:
>
> Thank you,
>
> I'll study it to see if/how we can do something to increase speed of
> creating threads
> in FPC.
>
> But if I understand you correctly, the WRITE_MEMORY_BARRIER() call is
> beyond our reach, so there's little we can do
On Fri, Oct 15, 2010 at 9:24 AM, Jonas Maebe wrote:
> You replaced a bunch of semaphore create/lock/unlock/destroy operations with
> calls to a function that does not do anything.
I did not. I REMOVED create/destroy/lock/unlock. I ADDED calls to
the ThreadManager's own functions for thread Resu
On Fri, Oct 15, 2010 at 5:20 AM, Frank Church wrote:
>
> I am writing an app involving 2 threads, and a timer loop in the UI.
>
> The first thread monitors network events, logs them into a database, appends
> them to a list.
>
Any time I see append to a list I always think "RTLCriticalSection"
>
> What are the exact differences from this test to your last one? Would be
> nice to know that... :)
Every barrier causes a significant increase in time. In high
performance parallel computing time is something we minimize. Big
reductions in linear execution yield massive performance gains in th
Thanks, Jonas.
On Thu, Oct 14, 2010 at 6:43 AM, Jonas Maebe wrote:
>
> On 14 Oct 2010, at 02:58, Andrew Brunner wrote:
>
>> I was reading on building FPC with debug enabled so I can trace into a
>> unit
>
> make OPT=&q
On Thu, Oct 14, 2010 at 4:29 AM, Michael Van Canneyt
wrote:
> Impressive. So the FPC implementation on top of this obviously does
> something on top of this which causes it to slow down.
>
> Possible culprits would then be the semaphores and TLS allocation.
I obtained the source to pThreads syst
On Wed, Oct 13, 2010 at 3:24 PM, Michael Van Canneyt
wrote:
>> Is it possible I have the pthread library in some sort of debug mode
>> that is slowing down the process of thread creation?
>
> I seriously doubt it.
> What you could do to test, is write your program using direct Pthread calls.
> Th
I was reading on building FPC with debug enabled so I can trace into a
unit and found that it was way too difficult to find the parameters.
I know I had at one time edited the wiki page once I learned how to do
it but to my surprise that info was either lost/moved or too hard to
navigate and the se
On Wed, Oct 13, 2010 at 2:12 PM, Michael Van Canneyt
wrote:
> FPC doesn't have anything to say about CPU allocation. The threads are
> created by the C pthread library and Linux kernel.
> They do the heavy work.
Is it possible I have the pthread library in some sort of debug mode
that is slowing
On Wed, Oct 13, 2010 at 8:28 AM, Michael Van Canneyt
wrote:
> Probably because it uses a heap manager per thread.
>
> You may try to use 'cmem', which will replace the heap manager with the C
> memory manager (one for the whole app, not per thread). That will allow you
> to test this hypothesis.
On Wed, Oct 13, 2010 at 8:27 AM, Jonas Maebe wrote:
>
> 1) on entry of the "critical section" protected by this variable, you can
> have problems, because this sequence:
>
> locked:=true;
> local:=shared_global_var;
>
> may actually be executed in this order:
>
> local:=shared_global_var;
> locked
On Tue, Oct 12, 2010 at 5:51 PM, Andrew Brunner
wrote:
Another problem demonstrated with this application is the limiting
factor of thread creation. I'd like to make a complaint using this
code as well. Change the number of threads to 3000. The system gets
to about 1,000 and starts to
2010 00:51, schrieb Andrew Brunner:
>>
>> This test case illustrates a FPC memory leak.
>
> What makes you think so? Internally freed memory is not immediatly
> released to the OS as well.
On windows I know there is a call to flush all virtual memory out. Is
the
On Sun, Oct 10, 2010 at 1:09 PM, Mark Morgan Lloyd
wrote:
> Could you suid it to root or to an appropriate group? I've not tried this
> for a Pascal/Lazarus program and don't know what the precise rules are for
> port usage (i.e. whether the user has to be root or using the root group is
> suffici
n Fri, Oct 8, 2010 at 3:52 PM, Jonas Maebe wrote:
>
> On 08 Oct 2010, at 22:45, Andrew Brunner wrote:
>
> On Fri, Oct 8, 2010 at 3:37 PM, Marco van de Voort wrote:
>
> No, but the last one might be set before the condition coupled to that last
>
> one might be carried out. See
On Fri, Oct 8, 2010 at 3:37 PM, Marco van de Voort wrote:
> No, but the last one might be set before the condition coupled to that last
> one might be carried out. See Jonas' example.
The ONLY way that could happen is if the boolean happens to be set in
a worker thread's method that still has mor
Right. But in the case of an array of booleans that will be polled
and an exit condition will only be met if all booleans are set to
true. The order in which a polling thread sees them as being true has
no bearing on the functionality.
On Fri, Oct 8, 2010 at 3:07 PM, Paulo Costa wrote:
> On 08
I'm needing help to take my Lazarus app, elevate process to root
(using GUI prompt like GKSU) and I want to drop back down to the
user's level after port binding and listening.
Ubuntu has port restrictions for low port numbers. I'm developing a
platform that happens to use ports for HTTP, XMPP, e
On Fri, Oct 8, 2010 at 9:52 AM, Jonas Maebe wrote:
>> So are you referring to the topic of this conversation regarding data
>> flushing? The notion of creating an index of completions to poll and
>> waiting for all the values to turn true as a means to determine actual
>> job completion without u
On Fri, Oct 8, 2010 at 9:21 AM, Jonas Maebe wrote:
> No, the main source of problems is that the cpu may reordering memory
> operations resulting in those booleans in the arrays becoming true before
> all memory locations written in the thread are visible. The result is that
> you may try to use d
experience problems in the past with this does not
mean I won't with a future. ;-)
On Fri, Oct 8, 2010 at 9:04 AM, Jonas Maebe wrote:
>
> On 08 Oct 2010, at 15:57, Andrew Brunner wrote:
>
>> A better way of achieving this is looking at the collection of threads
>> you have. S
poll the
Completes to see if they are all true.
There are a million ways to accomplish safe thread usage without waitfor...
On Fri, Oct 8, 2010 at 8:49 AM, Graeme Geldenhuys
wrote:
> On 8 October 2010 15:32, Andrew Brunner wrote:
>> This seems like a discussion of semantics more than anyt
This seems like a discussion of semantics more than anything. In an
application thread if you say WAITFOR something then the app cannot
process messages b/c the execution is put on hold until WAITFOR
returns. This is normal behaviour, IMO.
So if this is just an exercise, I really don't see a pro
> procedure TBarThread.Execute;
> begin
> FFinished := False; // work-around variable
> while not Terminated do
> begin
> Synchronize(@UpdateProgressBar);
> end;
> FFinished := True; // work-around variable
> end;
>
What about dropping that loop and put it in UpdateProgressBar
TForm
On Wed, Oct 6, 2010 at 7:55 AM, Sven Barth wrote:
> You'll only find "127.0.0.1" for my computer there... I don't think that
> this is a very good solution.
Oh well. That makes sense b/c these are servers that I have obtaining
the same IP over DHCP.
On clients when DHCP is being used with dynami
I just read the first line in /etc/hosts file. The first entry is the IPv4.
On Tue, Oct 5, 2010 at 3:04 PM, Felipe Monteiro de Carvalho
wrote:
> hello,
>
> I am searching for a way to get the local IP. I already found examples
> with winsock, synapse and indy. Does anyone know how to do that wit
1 - 100 of 159 matches
Mail list logo