Tiny Core Base > Micro Core

rotdash for multiple instance

(1/1)

Roberto A. Foglietta:
Hi all,

 this is the code for rotdash which wait for a pid, a single pid.

 https://raw.githubusercontent.com/tinycorelinux/tc-misc/master/rotdash.c

 However, some software have many instances (multi-threading) using rotdash with pgrep does not work.
 
 The code has been modified to wait for multiple pids. In attachment.

 https://github.com/robang74/tinycore-editor/tree/main/tinycore/rotdash

 You will find compiled stripped/sstriped binaries here

 https://github.com/robang74/tinycore-editor/tree/main/tinycore/tccustom/32/usr/bin
 https://github.com/robang74/tinycore-editor/tree/main/tinycore/tccustom/64/usr/bin

nick65go:
IMHO: Does it need to be dynamically linked, not statically? and maybe linked against uclib or musl?
I understand today schema of fast and dirty approach of development, build one for test, get feed-back, improve it, throw away the first one etc.

At least you created something potentially useful for somebody, so .. congratulations.

Roberto A. Foglietta:

--- Quote from: nick65go on August 24, 2021, 08:34:01 AM ---At least you created something potentially useful for somebody, so .. congratulations.

--- End quote ---

There are at least 42 active users of TinyCore Editor (Suite).
Possibly, they will grown in number.

nick65go:
the idea to have rotdash statically linked is because a 32 bits version is portable to a 64 bits version (call directly to kernel only), and even portable to older TC versions (with older libc).

PS: I copy/paste an Archlinux ELF 64 bits (xarchiver, I think) in TC12_x86_64 and I hit some undefined symbols etc. So yes, underlining lib versions could be an obstacle sometimes.

Navigation

[0] Message Index

Go to full version