<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.webkit.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4.1"
          urlbase="https://bugs.webkit.org/"
          
          maintainer="admin@webkit.org"
>

    <bug>
          <bug_id>31715</bug_id>
          
          <creation_ts>2009-11-20 03:26:19 -0800</creation_ts>
          <short_desc>[Android] Android port lacks implementation of atomicIncrement and atomicDecrement</short_desc>
          <delta_ts>2009-11-23 03:30:38 -0800</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>New Bugs</component>
          <version>528+ (Nightly build)</version>
          <rep_platform>Other</rep_platform>
          <op_sys>Other</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Steve Block">steveblock</reporter>
          <assigned_to name="Steve Block">steveblock</assigned_to>
          <cc>android-webkit-unforking</cc>
    
    <cc>steveblock</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>165264</commentid>
    <comment_count>0</comment_count>
    <who name="Steve Block">steveblock</who>
    <bug_when>2009-11-20 03:26:19 -0800</bug_when>
    <thetext>The Android port lacks implementation of atomicIncrement and atomicDecrement. See JavaScriptCore/wtf/Threading.h.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>165267</commentid>
    <comment_count>1</comment_count>
      <attachid>43570</attachid>
    <who name="Steve Block">steveblock</who>
    <bug_when>2009-11-20 03:59:38 -0800</bug_when>
    <thetext>Created attachment 43570
Patch 1 for Bug 31715</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>165606</commentid>
    <comment_count>2</comment_count>
      <attachid>43570</attachid>
    <who name="Eric Seidel (no email)">eric</who>
    <bug_when>2009-11-21 07:19:13 -0800</bug_when>
    <thetext>Comment on attachment 43570
Patch 1 for Bug 31715

I&apos;m surprised that you don&apos;t use &lt; &gt; for the system header include:
 77 #include &quot;cutils/atomic.h&quot;

But otherwise this looks fine.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>165814</commentid>
    <comment_count>3</comment_count>
    <who name="Steve Block">steveblock</who>
    <bug_when>2009-11-23 03:30:38 -0800</bug_when>
    <thetext>&gt; I&apos;m surprised that you don&apos;t use &lt; &gt; for the system header include:
&gt;  77 #include &quot;cutils/atomic.h&quot;
Fixed

Submitted as http://trac.webkit.org/changeset/51305</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>43570</attachid>
            <date>2009-11-20 03:59:38 -0800</date>
            <delta_ts>2009-11-21 07:19:12 -0800</delta_ts>
            <desc>Patch 1 for Bug 31715</desc>
            <filename>implementAtomicIncrement.txt</filename>
            <type>text/plain</type>
            <size>1842</size>
            <attacher name="Steve Block">steveblock</attacher>
            
              <data encoding="base64">SW5kZXg6IEphdmFTY3JpcHRDb3JlL0NoYW5nZUxvZwo9PT09PT09PT09PT09PT09PT09PT09PT09
PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09Ci0tLSBKYXZhU2NyaXB0
Q29yZS9DaGFuZ2VMb2cJKHJldmlzaW9uIDUxMjM0KQorKysgSmF2YVNjcmlwdENvcmUvQ2hhbmdl
TG9nCSh3b3JraW5nIGNvcHkpCkBAIC0xLDMgKzEsMTQgQEAKKzIwMDktMTEtMjAgIFN0ZXZlIEJs
b2NrICA8c3RldmVibG9ja0Bnb29nbGUuY29tPgorCisgICAgICAgIFJldmlld2VkIGJ5IE5PQk9E
WSAoT09QUyEpLgorCisgICAgICAgIEFuZHJvaWQgcG9ydCBsYWNrcyBpbXBsZ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gJiYgKF9fR05VQ19NSU5PUl9fID49IDIpKQogI2luY2x1ZGUgPGV4dC9hdG9taWNpdHkuaD4K
QEAgLTIzMiw2ICsyMzQsMTEgQEAgaW5saW5lIGludCBhdG9taWNEZWNyZW1lbnQoaW50IHZvbGF0
aWxlKgogaW5saW5lIGludCBhdG9taWNJbmNyZW1lbnQoaW50IHZvbGF0aWxlKiBhZGRlbmQpIHsg
cmV0dXJuIE9TQXRvbWljSW5jcmVtZW50MzJCYXJyaWVyKGNvbnN0X2Nhc3Q8aW50Kj4oYWRkZW5k
KSk7IH0KIGlubGluZSBpbnQgYXRvbWljRGVjcmVtZW50KGludCB2b2xhdGlsZSogYWRkZW5kKSB7
IHJldHVybiBPU0F0b21pY0RlY3JlbWVudDMyQmFycmllcihjb25zdF9jYXN0PGludCo+KGFkZGVu
ZCkpOyB9CiAKKyNlbGlmIFBMQVRGT1JNKEFORFJPSUQpCisKK2lubGluZSBpbnQgYXRvbWljSW5j
cmVtZW50KGludCB2b2xhdGlsZSogYWRkZW5kKSB7IHJldHVybiBhbmRyb2lkX2F0b21pY19pbmMo
YWRkZW5kKTsgfQoraW5saW5lIGludCBhdG9taWNEZWNyZW1lbnQoaW50IHZvbGF0aWxlKiBhZGRl
bmQpIHsgcmV0dXJuIGFuZHJvaWRfYXRvbWljX2RlYyhhZGRlbmQpOyB9CisKICNlbGlmIENPTVBJ
TEVSKEdDQykgJiYgIVBMQVRGT1JNKFNQQVJDNjQpIC8vIHNpemVvZihfQXRvbWljX3dvcmQpICE9
IHNpemVvZihpbnQpIG9uIHNwYXJjNjQgZ2NjCiAjZGVmaW5lIFdURl9VU0VfTE9DS0ZSRUVfVEhS
RUFEU0FGRVNIQVJFRCAxCiAK
</data>
<flag name="review"
          id="25309"
          type_id="1"
          status="+"
          setter="eric"
    />
          </attachment>
      

    </bug>

</bugzilla>