473,466 Members | 1,338 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

Any way to restart a terminated thread

Is there any way to start a terminated thread without using a pool or
creating a new thread object?

void counter()
{
clicks = 0;
clock.Start();
while (counterActive)
{
clicks++;
Thread.SpinWait(counterWaits);
}
clock.Stop();
}

double PointProfiler(int waits, int sleep)
{
counterWaits = waits;
while (counterThread.IsAlive) counterActive = false;
counterActive = true; clicks = 0;
counterThread.Start();
Thread.Sleep(sleep);
while (counterThread.IsAlive) counterActive = false;
return clicks / clock.Time;
}
I want to be able to start the counter thread each time but not create a new
thread(because of the performance overhead). I also don't want the counter
to run for ever so I need a way of restarting it. It seems that this is
impossible though? ;/

Is there any way to make it so that the thread is re-entrant? I tried to
suspend but suspend is obsolete and isn't working. If I do .Start() then
..Suspend() right after it I get 100% cpu usage as if it didn't suspend
anything.

It seems that I have no choice but to use a pool but I think that it might
cause some performance issues(I'm trying to time things as accurate as
possible). I can do what I want to do if I can let the counter thread run
continuously but now since I'm trying to integrate it as part of a gui I
need to only let it run when its needed. (and I think that creating a new
thread every time I need to do this is out of the questing(since I'll be
profiling several times in a row).

Sep 18 '07 #1
11 3734
BTW, I don't want the code to be asynchronous. I am trying to profile the
absolute timing of the thread and need to minimize other thread
interference. (and I don't need it in the background and don't care if it
freezes up the computer momentarily)

I also did this code in the main loop without a thread but the problem is
that I end up counting excess time from my clock routines. (Basically
clocking every click and it introduces significant error . I guess I could
do an average over it but already taking a bunch of averages... basically
with my old code using a thread I could ge around 10mhz using
Thread.SpinWait(1)... using my new code in the main loop I get max about
250khz using SpinWait(1).) If I can't find any satisfactory way to use
threads then I'll try to improve my main loop code.

Sep 18 '07 #2

"Jon Slaughter" <Jo***********@Hotmail.comwrote in message
news:CY******************@newssvr11.news.prodigy.n et...
Is there any way to start a terminated thread without using a pool or
creating a new thread object?
Why not use a manual-reset event? The thread will run as long as the event
remains set.
>
void counter()
{
clicks = 0;
clock.Start();
while (counterActive)
{
clicks++;
Thread.SpinWait(counterWaits);
}
clock.Stop();
}

double PointProfiler(int waits, int sleep)
{
counterWaits = waits;
while (counterThread.IsAlive) counterActive = false;
counterActive = true; clicks = 0;
counterThread.Start();
Thread.Sleep(sleep);
while (counterThread.IsAlive) counterActive = false;
return clicks / clock.Time;
}
I want to be able to start the counter thread each time but not create a
new thread(because of the performance overhead). I also don't want the
counter to run for ever so I need a way of restarting it. It seems that
this is impossible though? ;/

Is there any way to make it so that the thread is re-entrant? I tried to
suspend but suspend is obsolete and isn't working. If I do .Start() then
.Suspend() right after it I get 100% cpu usage as if it didn't suspend
anything.

It seems that I have no choice but to use a pool but I think that it might
cause some performance issues(I'm trying to time things as accurate as
possible). I can do what I want to do if I can let the counter thread run
continuously but now since I'm trying to integrate it as part of a gui I
need to only let it run when its needed. (and I think that creating a new
thread every time I need to do this is out of the questing(since I'll be
profiling several times in a row).

Sep 18 '07 #3

"Ben Voigt [C++ MVP]" <rb*@nospam.nospamwrote in message
news:e6****************@TK2MSFTNGP03.phx.gbl...
>
"Jon Slaughter" <Jo***********@Hotmail.comwrote in message
news:CY******************@newssvr11.news.prodigy.n et...
>Is there any way to start a terminated thread without using a pool or
creating a new thread object?

Why not use a manual-reset event? The thread will run as long as the
event remains set.
I'm not sure what your talking about? Could you please explain a little
more? I need the thread to be able to be re-entrant but not run
continuously. Essentially I need to use it like a function call but on a
different thread. (Because I need to time how long it takes to run in an
asychronous way).
Sep 18 '07 #4
Jon Slaughter <Jo***********@Hotmail.comwrote:
Is there any way to start a terminated thread without using a pool or
creating a new thread object?
No. You need to either make the thread wait to have more work to do, or
start a new thread.

Why not just make it wait for more work to do, and reset the "clock"
(whatever that is) each time?

--
Jon Skeet - <sk***@pobox.com>
http://www.pobox.com/~skeet Blog: http://www.msmvps.com/jon.skeet
If replying to the group, please do not mail me too
Sep 19 '07 #5

"Jon Skeet [C# MVP]" <sk***@pobox.comwrote in message
news:MP*********************@msnews.microsoft.com. ..
Jon Slaughter <Jo***********@Hotmail.comwrote:
>Is there any way to start a terminated thread without using a pool or
creating a new thread object?

No. You need to either make the thread wait to have more work to do, or
start a new thread.

Why not just make it wait for more work to do, and reset the "clock"
(whatever that is) each time?
What do you mean wait? How do you make the thread wait but not take up
cycles? If I had logic in there that prevents it from counting then it has
to do something else. If I make it goto sleep while its waiting then how do
I wake it back up in a timely fashion? I guess I could have my other thread
wait on it?

Would that save the cycles while the thread is inactive? Still seems like a
waste of cycles might be small enough that I can use it.

But even if I used sleep, since the minimal time is 1ms, and I'm doing tests
at the ns level, it causes each test to last atleast 1ms(cause I would have
to wait that long for the thread to "wake back up". This would take way to
long causing most of my tests to take an eternity.

Right now I'm simply timing things in a main loop and doing some averaging.
I think its working but I have a few issues when I'm timing a spinwait of a
very long durration.

Thanks,
Jon
Sep 19 '07 #6
On Sep 19, 8:45 am, "Jon Slaughter" <Jon_Slaugh...@Hotmail.comwrote:
Why not just make it wait for more work to do, and reset the "clock"
(whatever that is) each time?

What do you mean wait? How do you make the thread wait but not take up
cycles?
Use Monitor.Wait or an Auto/ManualResetEvent. See the second half of
http://pobox.com/~skeet/csharp/threads/deadlocks.shtml
If I had logic in there that prevents it from counting then it has
to do something else. If I make it goto sleep while its waiting then how do
I wake it back up in a timely fashion? I guess I could have my other thread
wait on it?
The above page will explain.
But even if I used sleep, since the minimal time is 1ms, and I'm doing tests
at the ns level, it causes each test to last atleast 1ms(cause I would have
to wait that long for the thread to "wake back up". This would take way to
long causing most of my tests to take an eternity.
You're unlikely to get nanosecond accuracy with any system, to be
honest. In particular, at that level the scheduler is likely to be
significant.
Right now I'm simply timing things in a main loop and doing some averaging.
I think its working but I have a few issues when I'm timing a spinwait of a
very long durration.
Why do you even *have* a spinwait of a very long duration? The point
of a spinwait is to avoid context switching when you only want to wait
for a very short time.

Jon

Sep 19 '07 #7
"Jon Slaughter" <Jo***********@Hotmail.comwrote in message
news:ds*******************@newssvr12.news.prodigy. net...
>
"Jon Skeet [C# MVP]" <sk***@pobox.comwrote in message
news:MP*********************@msnews.microsoft.com. ..
>Jon Slaughter <Jo***********@Hotmail.comwrote:
>>Is there any way to start a terminated thread without using a pool or
creating a new thread object?

No. You need to either make the thread wait to have more work to do, or
start a new thread.

Why not just make it wait for more work to do, and reset the "clock"
(whatever that is) each time?

What do you mean wait? How do you make the thread wait but not take up
cycles? If I had logic in there that prevents it from counting then it
has to do something else. If I make it goto sleep while its waiting then
how do I wake it back up in a timely fashion? I guess I could have my
other thread wait on it?

Would that save the cycles while the thread is inactive? Still seems like
a waste of cycles might be small enough that I can use it.

But even if I used sleep, since the minimal time is 1ms, and I'm doing
tests at the ns level, it causes each test to last atleast 1ms(cause I
would have to wait that long for the thread to "wake back up". This would
take way to long causing most of my tests to take an eternity.

Right now I'm simply timing things in a main loop and doing some
averaging. I think its working but I have a few issues when I'm timing a
spinwait of a very long durration.

Thanks,
Jon

Adding to what Jon said, Windows is not a real time OS, that means that you
can't wait or sleep for a "precise" amount of time nor can you put a thread
asleep for 1msec. When calling Sleep say for 1 msec, then the thread will be
pre-empted and put asleep for at least the remainder of it's thread quantum.
Thread quantum's vary depending on the OS version and the HW (CPU) your code
runs on. The thread quantum ranges from 10 msecs. on single cores up to a
multiple of this on SMP or multicore system. Note that when other, higher
priority threads, are ready to run, that your thread might even sleep a lot
longer (seconds!). This all means that you can't even control precisely
*when* and for *how long* a thread will get a CPU quantum, this all is
controlled by the OS scheduler. You should consider this when using
synchronization primitives ( eg.. Monitors, WaitHandles etc...) to control
the "starting/stopping" of threads, it's not because one thread signals an
event, that the waiting thread will instantly be placed on the CPU, the
waiting thread will get it's slice when the scheduler sees fit, this can be
nearly immediately but also xx milliseconds later. Where xx depends on many
factor in the system, like the # of CPU's, the # of ready thread and their
priority, etc.....

Willy.


Sep 19 '07 #8

"Jon Skeet [C# MVP]" <sk***@pobox.comwrote in message
news:11**********************@g4g2000hsf.googlegro ups.com...
On Sep 19, 8:45 am, "Jon Slaughter" <Jon_Slaugh...@Hotmail.comwrote:
Why not just make it wait for more work to do, and reset the "clock"
(whatever that is) each time?

What do you mean wait? How do you make the thread wait but not take up
cycles?

Use Monitor.Wait or an Auto/ManualResetEvent. See the second half of
http://pobox.com/~skeet/csharp/threads/deadlocks.shtml
> If I had logic in there that prevents it from counting then it has
to do something else. If I make it goto sleep while its waiting then how
do
I wake it back up in a timely fashion? I guess I could have my other
thread
wait on it?

The above page will explain.
>But even if I used sleep, since the minimal time is 1ms, and I'm doing
tests
at the ns level, it causes each test to last atleast 1ms(cause I would
have
to wait that long for the thread to "wake back up". This would take way
to
long causing most of my tests to take an eternity.

You're unlikely to get nanosecond accuracy with any system, to be
honest. In particular, at that level the scheduler is likely to be
significant.
I don't need nanosecond accuracy but nanosecond consistency. I need a way to
control the speed of communications. I can do this quite easily with spin
wait. Doesn't matter if its not perfect cause its the best I can do.
>Right now I'm simply timing things in a main loop and doing some
averaging.
I think its working but I have a few issues when I'm timing a spinwait of
a
very long durration.

Why do you even *have* a spinwait of a very long duration? The point
of a spinwait is to avoid context switching when you only want to wait
for a very short time.
Its the only way to get the control over timing. I suppose after one msec I
could start using sleep but thats pretty unregular and chances are I'll
never use it anyways...


Sep 19 '07 #9

"Willy Denoyette [MVP]" <wi*************@telenet.bewrote in message
news:%2******************@TK2MSFTNGP06.phx.gbl...
"Jon Slaughter" <Jo***********@Hotmail.comwrote in message
news:ds*******************@newssvr12.news.prodigy. net...
>>
"Jon Skeet [C# MVP]" <sk***@pobox.comwrote in message
news:MP*********************@msnews.microsoft.com ...
>>Jon Slaughter <Jo***********@Hotmail.comwrote:
Is there any way to start a terminated thread without using a pool or
creating a new thread object?

No. You need to either make the thread wait to have more work to do, or
start a new thread.

Why not just make it wait for more work to do, and reset the "clock"
(whatever that is) each time?

What do you mean wait? How do you make the thread wait but not take up
cycles? If I had logic in there that prevents it from counting then it
has to do something else. If I make it goto sleep while its waiting then
how do I wake it back up in a timely fashion? I guess I could have my
other thread wait on it?

Would that save the cycles while the thread is inactive? Still seems like
a waste of cycles might be small enough that I can use it.

But even if I used sleep, since the minimal time is 1ms, and I'm doing
tests at the ns level, it causes each test to last atleast 1ms(cause I
would have to wait that long for the thread to "wake back up". This would
take way to long causing most of my tests to take an eternity.

Right now I'm simply timing things in a main loop and doing some
averaging. I think its working but I have a few issues when I'm timing a
spinwait of a very long durration.

Thanks,
Jon


Adding to what Jon said, Windows is not a real time OS, that means that
you can't wait or sleep for a "precise" amount of time nor can you put a
thread asleep for 1msec. When calling Sleep say for 1 msec, then the
thread will be pre-empted and put asleep for at least the remainder of
it's thread quantum. Thread quantum's vary depending on the OS version and
the HW (CPU) your code runs on. The thread quantum ranges from 10 msecs.
on single cores up to a multiple of this on SMP or multicore system. Note
that when other, higher priority threads, are ready to run, that your
thread might even sleep a lot longer (seconds!). This all means that you
can't even control precisely *when* and for *how long* a thread will get a
CPU quantum, this all is controlled by the OS scheduler. You should
consider this when using synchronization primitives ( eg.. Monitors,
WaitHandles etc...) to control the "starting/stopping" of threads, it's
not because one thread signals an event, that the waiting thread will
instantly be placed on the CPU, the waiting thread will get it's slice
when the scheduler sees fit, this can be nearly immediately but also xx
milliseconds later. Where xx depends on many factor in the system, like
the # of CPU's, the # of ready thread and their priority, etc.....
I know I can't get precise control but using my method at the moment I can
get some control. I can get within a few % on average of any speed I want up
to, on my system, of about atleast 1mhz. (with an empty code block its about
250mhz but when I actually add something to do it will reduce it).

Its better than running a communications at < 1khz and still being unstable.
Sep 19 '07 #10
"Jon Slaughter" <Jo***********@Hotmail.comwrote in message
news:ln****************@newssvr21.news.prodigy.net ...
>
"Willy Denoyette [MVP]" <wi*************@telenet.bewrote in message
news:%2******************@TK2MSFTNGP06.phx.gbl...
>"Jon Slaughter" <Jo***********@Hotmail.comwrote in message
news:ds*******************@newssvr12.news.prodigy .net...
>>>
"Jon Skeet [C# MVP]" <sk***@pobox.comwrote in message
news:MP*********************@msnews.microsoft.co m...
Jon Slaughter <Jo***********@Hotmail.comwrote:
Is there any way to start a terminated thread without using a pool or
creating a new thread object?

No. You need to either make the thread wait to have more work to do, or
start a new thread.

Why not just make it wait for more work to do, and reset the "clock"
(whatever that is) each time?
What do you mean wait? How do you make the thread wait but not take up
cycles? If I had logic in there that prevents it from counting then it
has to do something else. If I make it goto sleep while its waiting then
how do I wake it back up in a timely fashion? I guess I could have my
other thread wait on it?

Would that save the cycles while the thread is inactive? Still seems
like a waste of cycles might be small enough that I can use it.

But even if I used sleep, since the minimal time is 1ms, and I'm doing
tests at the ns level, it causes each test to last atleast 1ms(cause I
would have to wait that long for the thread to "wake back up". This
would take way to long causing most of my tests to take an eternity.

Right now I'm simply timing things in a main loop and doing some
averaging. I think its working but I have a few issues when I'm timing a
spinwait of a very long durration.

Thanks,
Jon


Adding to what Jon said, Windows is not a real time OS, that means that
you can't wait or sleep for a "precise" amount of time nor can you put a
thread asleep for 1msec. When calling Sleep say for 1 msec, then the
thread will be pre-empted and put asleep for at least the remainder of
it's thread quantum. Thread quantum's vary depending on the OS version
and the HW (CPU) your code runs on. The thread quantum ranges from 10
msecs. on single cores up to a multiple of this on SMP or multicore
system. Note that when other, higher priority threads, are ready to run,
that your thread might even sleep a lot longer (seconds!). This all means
that you can't even control precisely *when* and for *how long* a thread
will get a CPU quantum, this all is controlled by the OS scheduler. You
should consider this when using synchronization primitives ( eg..
Monitors, WaitHandles etc...) to control the "starting/stopping" of
threads, it's not because one thread signals an event, that the waiting
thread will instantly be placed on the CPU, the waiting thread will get
it's slice when the scheduler sees fit, this can be nearly immediately
but also xx milliseconds later. Where xx depends on many factor in the
system, like the # of CPU's, the # of ready thread and their priority,
etc.....

I know I can't get precise control but using my method at the moment I can
get some control. I can get within a few % on average of any speed I want
up to, on my system, of about atleast 1mhz. (with an empty code block its
about 250mhz but when I actually add something to do it will reduce it).

Its better than running a communications at < 1khz and still being
unstable.


Not sure what you mean by this, actually you don't (can't) control the
counting thread, which is the whole point of your question right? Actually
what you are doing is simply count how long it takes to run a piece of code,
that is - SpinLock and increment a counter - in an loop, no other thread
comes in the picture. Once you have to synchronize the counting thread's
activity from another thread you will need to use some synchronization
mechanism, and this is where you will get confronted by the restrictions and
limitations Windows (or any other non real-time OS) as explained above.
Willy.
Sep 19 '07 #11

"Willy Denoyette [MVP]" <wi*************@telenet.bewrote in message
news:uI****************@TK2MSFTNGP05.phx.gbl...
"Jon Slaughter" <Jo***********@Hotmail.comwrote in message
news:ln****************@newssvr21.news.prodigy.net ...
>>
"Willy Denoyette [MVP]" <wi*************@telenet.bewrote in message
news:%2******************@TK2MSFTNGP06.phx.gbl. ..
>>"Jon Slaughter" <Jo***********@Hotmail.comwrote in message
news:ds*******************@newssvr12.news.prodig y.net...

"Jon Skeet [C# MVP]" <sk***@pobox.comwrote in message
news:MP*********************@msnews.microsoft.c om...
Jon Slaughter <Jo***********@Hotmail.comwrote:
>Is there any way to start a terminated thread without using a pool or
>creating a new thread object?
>
No. You need to either make the thread wait to have more work to do,
or
start a new thread.
>
Why not just make it wait for more work to do, and reset the "clock"
(whatever that is) each time?
>

What do you mean wait? How do you make the thread wait but not take up
cycles? If I had logic in there that prevents it from counting then it
has to do something else. If I make it goto sleep while its waiting
then how do I wake it back up in a timely fashion? I guess I could
have my other thread wait on it?

Would that save the cycles while the thread is inactive? Still seems
like a waste of cycles might be small enough that I can use it.

But even if I used sleep, since the minimal time is 1ms, and I'm doing
tests at the ns level, it causes each test to last atleast 1ms(cause I
would have to wait that long for the thread to "wake back up". This
would take way to long causing most of my tests to take an eternity.

Right now I'm simply timing things in a main loop and doing some
averaging. I think its working but I have a few issues when I'm timing
a spinwait of a very long durration.

Thanks,
Jon

Adding to what Jon said, Windows is not a real time OS, that means that
you can't wait or sleep for a "precise" amount of time nor can you put a
thread asleep for 1msec. When calling Sleep say for 1 msec, then the
thread will be pre-empted and put asleep for at least the remainder of
it's thread quantum. Thread quantum's vary depending on the OS version
and the HW (CPU) your code runs on. The thread quantum ranges from 10
msecs. on single cores up to a multiple of this on SMP or multicore
system. Note that when other, higher priority threads, are ready to run,
that your thread might even sleep a lot longer (seconds!). This all
means that you can't even control precisely *when* and for *how long* a
thread will get a CPU quantum, this all is controlled by the OS
scheduler. You should consider this when using synchronization
primitives ( eg.. Monitors, WaitHandles etc...) to control the
"starting/stopping" of threads, it's not because one thread signals an
event, that the waiting thread will instantly be placed on the CPU, the
waiting thread will get it's slice when the scheduler sees fit, this can
be nearly immediately but also xx milliseconds later. Where xx depends
on many factor in the system, like the # of CPU's, the # of ready
thread and their priority, etc.....

I know I can't get precise control but using my method at the moment I
can get some control. I can get within a few % on average of any speed I
want up to, on my system, of about atleast 1mhz. (with an empty code
block its about 250mhz but when I actually add something to do it will
reduce it).

Its better than running a communications at < 1khz and still being
unstable.



Not sure what you mean by this, actually you don't (can't) control the
counting thread, which is the whole point of your question right? Actually
what you are doing is simply count how long it takes to run a piece of
code, that is - SpinLock and increment a counter - in an loop, no other
thread comes in the picture. Once you have to synchronize the counting
thread's activity from another thread you will need to use some
synchronization mechanism, and this is where you will get confronted by
the restrictions and limitations Windows (or any other non real-time OS)
as explained above.

No, I am synchronozing it with hardware. But since its synchronous
communications and I'm the master communicator it doesn't have to have be
tightly timed. But I need a way to do timely communications I cannot just
do it fast as possible because the device itself may not be able to
communicate at that rate. But I can't just put some arbitrarily delay
because it might be to slow or to fast on different systems.

By having some abilility to get an average consistency and an upper bound on
the speed I have atleast partial control.

The idea is simply to run a function at an approximate speed beyond 1ms
resolution.

Essentially all it boils down to is

communicate with hardware,
delay,
communicate with hardware,
delay,
communicate with hardware,
delay,
communicate with hardware,
delay,
communicate with hardware,
delay,
communicate with hardware,
delay,
communicate with hardware,
delay,

But delay how much? Since I can't get around the fact that the delay might
always be larger than I want but I have no choice... but its not critical
anyways. But I still need to set a delay that will give me an upper bound
on the speed.

For example, I know if I used delay = SpinWait(1) on my system, supposing
communicate wiht hardware takes 0 cycles that the routine will run at
250mhz. (Later on I'll add some the ability to time the communication to get
a more accurate reading).

If SpinWait is something like 1000000 then it will run about 8khz. Sure it
might run at 7 khz here and 9khz there(cause my timing was an avg value) and
sure in some cases it might introduce a delay of 1s... but theres nothing I
can do about.

The main thing I don't like is that the delay has to waste cycles to
actually delay. But I guess thats the price I have to pay...

Sep 19 '07 #12

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: sleepyant | last post by:
Hi, I have a thread where it will do a Do While..Loop and check the blnCancel boolean in every loop. If blnCancel is True, then the loop will exit and the Thread should be terminated naturally. But...
3
by: Kranthis | last post by:
Hi, I want to restart a thread after same variable value in the thread reaches 100 in c# . How can I do. Please suggest me any solution
2
by: Chris Langston | last post by:
I have a Web Server running IIS 5 or 6 on Windows 2K and Windows 2003 Server that is experiencing strange shutdown problems. We are using ASP.NET v1.1 and our application is written in VB.NET ...
14
by: iceman | last post by:
Hello, I have a windows service. I want to restart it after every 24 hour. Is it possible to restart the service programmatically(from the service itself) using the sercvice controller object?...
6
by: Leonardo Curros | last post by:
Hello, I would like to know what's the best way to restart one service. I would like to do it from the service itself. Is this possible? I try it with ServiceController.stop()...
22
by: Brett | last post by:
I have a second thread, t2, that errors out and will stop. It's status is then "Stopped". I try to start t2 from thread 1, t1, by checking If t2.threadstate = "Stopped" Then t2.start() ...
5
by: juky | last post by:
Hi all, I have 3 running threads chencking for something in my application. Based on that I need to stop some of them safely wait for something else and restart. Sleep is not good in my case...
3
by: Tedmond | last post by:
Dear all, Is it possible to restart a remote PC using .net? The PC did not join my domain but I know it's local admin login. Thanks for any help. Tedmond
1
by: many_years_after | last post by:
class mythread(threading.Thread): def __init__(self, threadname): threading.Thread.__init__(self, name = threadname) def run(self): print 'i am running' print 'i quit run()' thread =...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
1
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.