|
Hello everyone,
Quick question: Are new threads created by a function tied to that function or are they independent as in the function that called them can end before the threads are finished?
Thanks
Started by Faken on
, 3 posts
by 3 people.
Answer Snippets (Read the full thread at stackoverflow):
Threads are independent OS-level objects, in terms of your question they are tied to process.
|
|
The ASP.NET dropdownlist control has an arrow that you can click to drop the list down, that color of the arrow is tied to the users windows color scheme. This is not convenient for me and I'll need a workaround. However, I'm wondering if anyone knows...
Started by Keith on
, 6 posts
by 6 people.
Answer Snippets (Read the full thread at stackoverflow):
There is a lot of legacy under the covers, and back in the days it seemed to make sense to do it that... .
Behind the scenes, the Winforms controls use the Win32 controls that have been in existence since Windows 3.0 (or was 3.0 still 16 bit? I don't recall) .
|
|
I've just started to learn about tie . I have a class named Link which I would like to do the following thing:
if fetched, return the link's address if stored, store the new address be able to call methods on it So far, my code is :
package Link; sub ...
Started by Geo on
, 3 posts
by 3 people.
Answer Snippets (Read the full thread at stackoverflow):
With overloaded stringification ( Link , above) with tie :
package LinkTie; use strict; use Link; sub(@_); return $self; } 1;
Example ....
My $secret_object = tied $normal_scalar;
I have an entire chapter on tie in Mastering Perl .
|
Ask your Facebook Friends
|
In Winforms you can have two controls tied to the same datasource in a way that when you select a record in one of them, the same record is selected in the other control.
Something that has always bugged me is being unable to non programatically reproduce...
Started by Pablo on
, 3 posts
by 3 people.
Answer Snippets (Read the full thread at stackoverflow):
In order to achieve this result in Windows Forms, the data presenter control (a DataGrid for instance) needs to trigger an event handled by the Datasource that, in turn, (as it keeps a list of all data presenter controls bound ... .
The short answer is no.
|
|
Is there any way to force Perl to call FETCHSIZE on a tied array before each call to FETCH . My tied array knows its maximum size, but could shrink from this size depending on the results of earlier FETCH calls. here is a contrived example that filters...
Started by Eric Strom on
, 3 posts
by 3 people.
Answer Snippets (Read the full thread at stackoverflow):
Listing out the contents of a tied array basically boils down to this:
my @array; my $tied_obj = tied @array....
Methods called by tie magic, but still just methods you can call yourself.
You're missing is they're just methods.
|
|
Hi everyone,
Some programs return immediately when launched from the command line, Firefox for example. Most utilities (and all the programs I've written) are tied to the shell that created them. If you control-c the command line, the program's dead.
...
Started by carneades on
, 5 posts
by 5 people.
Answer Snippets (Read the full thread at stackoverflow):
You need to basically need to fork a process or create a new thread (or pretend to)
in *nux you can do this with an & after the command like this /long/script & or in windows you can create a BATCH file that executes your processes then exits (it does... .
|
|
As perhaps you know already, most probably the next version of Delphi will be cross-platform . Also, here are some polls on the matter.
While writing a cross-compiler isn't a thing which interests us very much now, porting a library which was/is Windows...
Answer Snippets (Read the full thread at stackoverflow):
I use lots of third party....
Such an app will probably suck, but that's how it seems to me .
Experience so far has shown that the best way to get a Delphi app compatible with future versions is to stick to pure Delphi components, and use nothing third party .
|
|
LillyBelle all tied up.
7 Attachment(s) Here I am all tied up and vulnerable.
Started by LillyBelle on
, 12 posts
by 11 people.
Answer Snippets (Read the full thread at chubbyparade):
Oh I want me some of that MMMM!!.
1328769) Here I am all tied up and vulnerable.
|
|
I've been looking for this for a while now and I just haven't been able to find one. The last few that I used were:
aterm - this one was fast and had good transparency support, but it doesn't support Unicode at all as far as I can tell. The dependency...
Started by jamuraa on
, 5 posts
by 5 people.
Answer Snippets (Read the full thread at superuser):
Rxvt-unicode might work.
Xterm has support for Unicode and is not tied to any desktop environment.
|
|
Is it at all possible in the middle of a function execution to set a pointer to the current stack (to be picked up later) and then release the current thread (without unwinding the call stack) and give it back to the thread pool? And then, have another...
Started by skb on
, 3 posts
by 3 people.
Answer Snippets (Read the full thread at stackoverflow):
You could write a thread pool which did do this, but ... .
You can use asynchronous workflows to do this sort of thing (and the CCR makes this easier) but you can't just give the thread back to the thread pool .
No, a stack is part of the state of a thread .
|