| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* to fix: Error occurs in gcc 15.0.1 environment.
busy.c: In function 'main':
busy.c:20:58: error: passing argument 3 of 'pthread_create' from incompatible pointer type [-Wincompatible-pointer-types]
20 | if ((ret = pthread_create(&thread, NULL, loop, NULL)) != 0)
| ^~~~
| |
| void * (*)(void)
In file included from busy.c:3:
recipe-sysroot/usr/include/pthread.h:204:36: note: expected 'void * (*)(void *)' but argument is of type 'void * (*)(void)'
204 | void *(*__start_routine) (void *),
| ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~
busy.c:6:7: note: 'loop' declared here
6 | void *loop()
| ^~~~
Signed-off-by: mark.yang <mark.yang@lge.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
|
|
|
| |
Signed-off-by: Gianfranco Costamagna <costamagnagianfranco@yahoo.it>
Signed-off-by: Gianfranco Costamagna <locutusofborg@debian.org>
Signed-off-by: Federico Briata <federicobriata@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
|
|
|
|
|
|
|
|
| |
* fixes:
DEBUG: Executing shell function do_install
install: cannot stat 'TOPDIR/.../lib32-cpulimit/0.2-r0/git/src/lib32-cpulimit': No such file or directory
WARNING: exit code 1 from a shell command.
* drop strange 'g...@' from SRC_URI
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
|
|
| |
This define is needed for getting memrchr() declaration
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
Now, cpulimit recipe is put under recipes-support. Binary will be
installed by the recipe under /usr/sbin
# cpulimit -h
Usage: cpulimit [OPTIONS...] TARGET
OPTIONS
-l, --limit=N percentage of cpu allowed from 0
to 100
(required)
-v, --verbose show control statistics
-z, --lazy exit if there is no target
process, or
if it dies
-i, --include-children limit also the children
processes
-h, --help display this help and exit
TARGET must be exactly one of these:
-p, --pid=N pid of the process (implies -z)
-e, --exe=FILE name of the executable program
file or
path name
COMMAND [ARGS] run this command and limit it
(implies
-z)
Report bugs to <marlon...@hotmail.com>.
Signed-off-by: Bassem Boubaker <bassem.boubaker@actia.fr>
[ Changes by Portia
- Fix build issue, deprecated and missing includes
- Add branch to git repo in SRC_URI
- Update LICENSE to GPL-2.0-or-later
]
Signed-off-by: Portia <stephensportia@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|