Add support for process_info/1 and process_info/2 with list argument#2219
Open
mfurga wants to merge 1 commit intoatomvm:release-0.7from
Open
Add support for process_info/1 and process_info/2 with list argument#2219mfurga wants to merge 1 commit intoatomvm:release-0.7from
mfurga wants to merge 1 commit intoatomvm:release-0.7from
Conversation
| term ret = term_invalid_term(); | ||
| if (ctx == target) { | ||
| size_t term_size; | ||
| if (UNLIKELY(!context_get_process_info(ctx, NULL, &term_size, item, NULL))) { |
Check failure
Code scanning / CodeQL
Allocations without ensure_free in NIFs and port handlers Error
| size_t total_size = 0; | ||
| for (size_t i = 0; i < items_len; i++) { | ||
| size_t item_size; | ||
| if (UNLIKELY(!context_get_process_info(ctx, NULL, &item_size, items[i], NULL))) { |
Check failure
Code scanning / CodeQL
Allocations without ensure_free in NIFs and port handlers Error
73a8f25 to
da6a4f1
Compare
bettio
requested changes
Mar 20, 2026
CHANGELOG.md
Outdated
| `atomvm:posix_pwrite/3`, `atomvm:posix_fsync/1`, `atomvm:posix_ftruncate/2`, | ||
| `atomvm:posix_rename/2`, `atomvm:posix_stat/1`, `atomvm:posix_fstat/1` | ||
| - Added POSIX directory functions: `atomvm:posix_mkdir/1`, `atomvm:posix_rmdir/1`, | ||
| - Added support for `process_info/1` and `process_info/2` with list argument |
Collaborator
There was a problem hiding this comment.
Since we branched out release-0.7 this has to be rebased on top of release-0.7 branch.
Also make sure to switch from main to release-0.7 also here on github.
After that you have to add this to a new changelog section, in case you are adding the first new feature for alpha.1:
## [0.7.0-alpha.1] - Unreleased
### Added
- Added support for `process_info/1` and `process_info/2` with list argumentda6a4f1 to
901402b
Compare
Signed-off-by: Mateusz Furga <mateusz.furga@swmansion.com>
901402b to
125b736
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Add support for
process_info/1andprocess_info/2with list argument.Fixes #2190 #2191
These changes are made under both the "Apache 2.0" and the "GNU Lesser General
Public License 2.1 or later" license terms (dual license).
SPDX-License-Identifier: Apache-2.0 OR LGPL-2.1-or-later