Questions tagged [system-dependent]
6 questions
6
votes
1 answer
filesystem are unmounted before the services are stopped in systemd
I am debugging systemd shutdown issue. Here the problem is some of the filesystems are unmounted while the services are still running.
In general, we want systemd to shutdown the services first and then umount the mount points.
But here, umount and…

sandeep nagendra
- 422
- 5
- 15
3
votes
1 answer
Can systemd automatically restart / stop dependent services?
For performance reasons I need to run multiple instances of an app, pinned to CPU, listening on different ports. An HAProxy TCP load balancer sits in front of them to distribute the traffic.
This is done to prevent any thread context switching and…

Jacek Furmankiewicz
- 1,143
- 1
- 13
- 22
3
votes
4 answers
Maximum length of a std::basic_string<_CharT> string
I was wondering how one can fix an upper limit for the length of a string (in C++) for a given platform.
I scrutinized a lot of libraries, and most of them define it arbitrarily. The GNU C++ STL (the one with experimental C++0x features) has quite a…

themoondothshine
- 2,983
- 5
- 24
- 34
1
vote
2 answers
What causes difference in VB6 app testing result when running from Dev machine vs installed?
I'm new to VB6 but i'm currently in charge of maintaining a horror of editor like tool with plenty of forms, classes, modules and 3rd party tools all chunk together like the skin faces on that guy in the texas chainsaw massacre...
What i don't…

melaos
- 8,386
- 4
- 56
- 93
0
votes
2 answers
Where are system dependent symbols typically defined?
I'm looking at the source code for Tor as part of an RA project. I'm trying to figure out why it was automatically compiled to use threads on one system (SuSE) and forks a new process on a different system (Solaris). There are only a few places in…

Joel
- 1,437
- 2
- 18
- 28
0
votes
1 answer
System dependent limitations for code
With the function:
int five(int n)
{
if ((n%5)==0)
return 1;
else
return 0;
}
Why are the limitations of this positive numbers only even if there is no remainder?

Tushar Joshi
- 55
- 1
- 2
- 7