Revert "global: don't reuse ids"

This reverts commit bae0d16e09.
This commit is contained in:
Wim Taymans 2022-01-14 20:03:14 +01:00
parent 5135f9767a
commit b1fb4a2660
18 changed files with 77 additions and 19 deletions

View file

@ -331,6 +331,7 @@ struct pw_global {
pw_global_bind_func_t func; /**< bind function */
void *object; /**< object associated with the interface */
uint64_t serial; /**< increasing serial number */
struct spa_list resource_list; /**< The list of resources of this global */
@ -421,6 +422,8 @@ struct pw_context {
struct pw_mempool *pool; /**< global memory pool */
struct pw_map globals; /**< map of globals */
struct spa_list core_impl_list; /**< list of core_imp */
struct spa_list protocol_list; /**< list of protocols */
struct spa_list core_list; /**< list of core connections */