Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package aws-c-io for openSUSE:Factory checked in at 2025-11-18 15:33:02 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/aws-c-io (Old) and /work/SRC/openSUSE:Factory/.aws-c-io.new.2061 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "aws-c-io" Tue Nov 18 15:33:02 2025 rev:33 rq:1318214 version:0.23.3 Changes: -------- --- /work/SRC/openSUSE:Factory/aws-c-io/aws-c-io.changes 2025-10-22 12:19:49.352413387 +0200 +++ /work/SRC/openSUSE:Factory/.aws-c-io.new.2061/aws-c-io.changes 2025-11-18 15:35:26.740322020 +0100 @@ -1,0 +2,6 @@ +Tue Nov 11 08:31:58 UTC 2025 - John Paul Adrian Glaubitz <[email protected]> + +- Update to version 0.23.3 + * Expose Event Loop Type of ELG by @sbSteveK in (#765) + +------------------------------------------------------------------- Old: ---- v0.23.2.tar.gz New: ---- v0.23.3.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ aws-c-io.spec ++++++ --- /var/tmp/diff_new_pack.kK8fLa/_old 2025-11-18 15:35:27.876369856 +0100 +++ /var/tmp/diff_new_pack.kK8fLa/_new 2025-11-18 15:35:27.876369856 +0100 @@ -21,7 +21,7 @@ %define library_version 1.0.0 %define library_soversion 0unstable Name: aws-c-io -Version: 0.23.2 +Version: 0.23.3 Release: 0 Summary: I/O and TLS package AWS SDK for C License: Apache-2.0 ++++++ v0.23.2.tar.gz -> v0.23.3.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/aws-c-io-0.23.2/include/aws/io/event_loop.h new/aws-c-io-0.23.3/include/aws/io/event_loop.h --- old/aws-c-io-0.23.2/include/aws/io/event_loop.h 2025-10-16 01:25:35.000000000 +0200 +++ new/aws-c-io-0.23.3/include/aws/io/event_loop.h 2025-11-03 19:53:05.000000000 +0100 @@ -216,6 +216,12 @@ size_t aws_event_loop_group_get_loop_count(const struct aws_event_loop_group *el_group); /** + * Gets the event loop type used by an event loop group. + */ +AWS_IO_API +enum aws_event_loop_type aws_event_loop_group_get_type(const struct aws_event_loop_group *el_group); + +/** * Fetches the next loop for use. The purpose is to enable load balancing across loops. You should not depend on how * this load balancing is done as it is subject to change in the future. Currently it uses the "best-of-two" algorithm * based on the load factor of each loop. diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/aws-c-io-0.23.2/include/aws/io/private/event_loop_impl.h new/aws-c-io-0.23.3/include/aws/io/private/event_loop_impl.h --- old/aws-c-io-0.23.2/include/aws/io/private/event_loop_impl.h 2025-10-16 01:25:35.000000000 +0200 +++ new/aws-c-io-0.23.3/include/aws/io/private/event_loop_impl.h 2025-11-03 19:53:05.000000000 +0100 @@ -133,6 +133,7 @@ struct aws_array_list event_loops; struct aws_ref_count ref_count; struct aws_shutdown_callback_options shutdown_options; + enum aws_event_loop_type event_loop_type; }; AWS_EXTERN_C_BEGIN diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/aws-c-io-0.23.2/source/event_loop.c new/aws-c-io-0.23.3/source/event_loop.c --- old/aws-c-io-0.23.2/source/event_loop.c 2025-10-16 01:25:35.000000000 +0200 +++ new/aws-c-io-0.23.3/source/event_loop.c 2025-11-03 19:53:05.000000000 +0100 @@ -269,9 +269,6 @@ } struct aws_event_loop_group *el_group = aws_mem_calloc(allocator, 1, sizeof(struct aws_event_loop_group)); - if (el_group == NULL) { - return NULL; - } el_group->allocator = allocator; aws_ref_count_init( @@ -288,6 +285,11 @@ goto on_error; } + el_group->event_loop_type = options->type; + if (el_group->event_loop_type == AWS_EVENT_LOOP_PLATFORM_DEFAULT) { + el_group->event_loop_type = aws_event_loop_get_default_type(); + } + for (uint16_t i = 0; i < el_count; ++i) { /* Don't pin to hyper-threads if a user cared enough to specify a NUMA node */ if (!pin_threads || (i < group_cpu_count && !usable_cpus[i].suspected_hyper_thread)) { @@ -398,6 +400,10 @@ return aws_array_list_length(&el_group->event_loops); } +enum aws_event_loop_type aws_event_loop_group_get_type(const struct aws_event_loop_group *el_group) { + return el_group->event_loop_type; +} + struct aws_event_loop *aws_event_loop_group_get_loop_at(struct aws_event_loop_group *el_group, size_t index) { struct aws_event_loop *el = NULL; aws_array_list_get_at(&el_group->event_loops, &el, index);
