Skip to content

Commit b1197f2

Browse files
authored
do not release gvl on memory read (#496)
1 parent 7a1397e commit b1197f2

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22

33
## 0.18.0 (Unreleased)
44
- [Enhancement] Update `librdkafka` to `2.5.0`
5+
- [Enhancement] Do not release GVL on `rd_kafka_name` (ferrous26)
56
- [Patch] Patch cooperative-sticky assignments in librdkafka.
67
- [Fix] Mitigate a case where FFI would not restart the background events callback dispatcher in forks
78
- [Fix] Fix unused variable reference in producer (lucasmvnascimento)

lib/rdkafka/bindings.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ class SizePtr < FFI::Struct
3838

3939
# Metadata
4040

41-
attach_function :rd_kafka_name, [:pointer], :string, blocking: true
41+
attach_function :rd_kafka_name, [:pointer], :string
4242
attach_function :rd_kafka_memberid, [:pointer], :string, blocking: true
4343
attach_function :rd_kafka_clusterid, [:pointer], :string, blocking: true
4444
attach_function :rd_kafka_metadata, [:pointer, :int, :pointer, :pointer, :int], :int, blocking: true

0 commit comments

Comments
 (0)