<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Wed Feb 07 21:14:00 UTC 2024

It is possible to restrict the fields that are returned in this document by specifying the 'field' parameter in your request.
For example, to request only the issue key and summary append 'field=key&field=summary' to the URL of your request.
-->
<rss version="0.92" >
<channel>
    <title>MongoDB Jira</title>
    <link>https://jira.mongodb.org</link>
    <description>This file is an XML representation of an issue</description>
    <language>en-us</language>    <build-info>
        <version>9.7.1</version>
        <build-number>970001</build-number>
        <build-date>13-04-2023</build-date>
    </build-info>


<item>
            <title>[CDRIVER-2050] Inconsistent methods for obtaining the current process ID</title>
                <link>https://jira.mongodb.org/browse/CDRIVER-2050</link>
                <project id="10030" key="CDRIVER">C Driver</project>
                    <description>&lt;p&gt;I found the following inconsistencies while looking at PID-related code in libbson and libmongoc:&lt;/p&gt;

&lt;ul&gt;
	&lt;li&gt;&lt;a href=&quot;https://github.com/mongodb/libbson/blob/1.6.0/src/bson/bson-context.c#L131&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;&lt;tt&gt;_bson_getpid()&lt;/tt&gt;&lt;/a&gt; uses &lt;tt&gt;GetCurrentProcessId()&lt;/tt&gt; on Windows and &lt;tt&gt;getpid()&lt;/tt&gt; on other operating systems.&lt;/li&gt;
	&lt;li&gt;&lt;a href=&quot;https://github.com/mongodb/mongo-c-driver/blob/master/src/mongoc/mongoc-counters.c#L127&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;&lt;tt&gt;_mongoc_counters_cleanup()&lt;/tt&gt;&lt;/a&gt; uses &lt;tt&gt;getpid()&lt;/tt&gt; on Unix platforms.&lt;/li&gt;
	&lt;li&gt;&lt;a href=&quot;https://github.com/mongodb/mongo-c-driver/blob/master/src/mongoc/mongoc-log.c#L170&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;&lt;tt&gt;mongoc_log_default_handler()&lt;/tt&gt;&lt;/a&gt; uses &lt;tt&gt;syscall(SYS_gettid)&lt;/tt&gt; on Linux, &lt;tt&gt;_getpid()&lt;/tt&gt; on Windows, and &lt;tt&gt;getpid()&lt;/tt&gt; on other operating systems.&lt;/li&gt;
&lt;/ul&gt;


&lt;p&gt;This is trivial, but it may be worth making the Windows and Linux cases consistent with each other.&lt;/p&gt;</description>
                <environment></environment>
        <key id="353610">CDRIVER-2050</key>
            <summary>Inconsistent methods for obtaining the current process ID</summary>
                <type id="3" iconUrl="https://jira.mongodb.org/secure/viewavatar?size=xsmall&amp;avatarId=14718&amp;avatarType=issuetype">Task</type>
                                            <priority id="5" iconUrl="https://jira.mongodb.org/images/icons/priorities/trivial.svg">Trivial - P5</priority>
                        <status id="10038" iconUrl="https://jira.mongodb.org/images/icons/subtask.gif" description="">Backlog</status>
                    <statusCategory id="2" key="new" colorName="default"/>
                                    <resolution id="-1">Unresolved</resolution>
                                        <assignee username="-1">Unassigned</assignee>
                                    <reporter username="jmikola@mongodb.com">Jeremy Mikola</reporter>
                        <labels>
                            <label>neweng</label>
                    </labels>
                <created>Mon, 13 Feb 2017 21:20:50 +0000</created>
                <updated>Thu, 9 Feb 2023 11:17:45 +0000</updated>
                                            <version>1.6.0</version>
                                                    <component>libbson</component>
                    <component>libmongoc</component>
                                        <votes>0</votes>
                                    <watches>2</watches>
                                                                                                                        <attachments>
                    </attachments>
                <subtasks>
                    </subtasks>
                <customfields>
                                                                                                                                                                                                                                                                                                                                                                    <customfield id="customfield_15850" key="com.atlassian.jira.plugins.jira-development-integration-plugin:devsummary">
                        <customfieldname>Development</customfieldname>
                        <customfieldvalues>
                            
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            <customfield id="customfield_12550" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>2|hsuxjr:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10558" key="com.pyxis.greenhopper.jira:gh-global-rank">
                        <customfieldname>Rank (Obsolete)</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>9223372036854775807</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            </customfields>
    </item>
</channel>
</rss>